Closed kikeh closed 2 years ago
@agateblue I just realized that it may happen because both apps are missing the default_auto_field
property and in our project we are using BigAutoField
and not AutoField
. So it may not happen to everyone. I'll try adding that property, see if works and update the PR ;)
@kikeh yes, just realized that too. Maybe it would be better for backward compatibilty to simply add a default_auto_field = "django.db.models.AutoField"
in dynamic_preferences.apps
and dynamic_preferences.users.apps
? I assume it would remove the migration warning, while preserving current table structure for everyone, regardless of their default django auto field class.
Maybe it would be better for backward compatibilty to simply add a
default_auto_field = "django.db.models.AutoField"
indynamic_preferences.apps
anddynamic_preferences.users.apps
?
Yes, that's what I want to try, but I'm pretty sure it will work!
Ok, it looks like it works, I'm closing this and opening a new PR, thanks :)
Fixes #276