Django Arrayfield migration to cloud sql (Postgresql) not creating the column

24 views Asked by At

The project is already running and I tried adding an ArrayField to one of the models.

When makemigrations and migrate it applies all migrations but when trying insert a record to the field it says: django.db.utils.ProgrammingError: column "<ArrayField>" of relation "<app>_<model>" does not exist.

When checking Cloud SQL (PostgreSQL) have create all columns except for this one in particular.

0

There are 0 answers