You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When django-geojson switched the custom field from jsonfield to django.db.models.JSONField it broke migrations.
jsonfield used to create a text column for your json data when running 'makemigrations'. However, django.db.models.JSONField creates a json column using database-backend specific column types (ie jsonb on postgresql).
When upgrading this dependency I expected to have a new migrations when running makemigrations which would handle convert all my models geojson fields columns from text to jsonb.
No migrations were generated upon upgrading this package.
The text was updated successfully, but these errors were encountered:
When
django-geojson
switched the custom field fromjsonfield
todjango.db.models.JSONField
it broke migrations.jsonfield
used to create a text column for your json data when running 'makemigrations'. However,django.db.models.JSONField
creates a json column using database-backend specific column types (ie jsonb on postgresql).When upgrading this dependency I expected to have a new migrations when running
makemigrations
which would handle convert all my models geojson fields columns from text to jsonb.No migrations were generated upon upgrading this package.
The text was updated successfully, but these errors were encountered: