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
Similar issue,When executing the command “makemigrations”, a new migration file will be generated.
The changes of the string in the model field can be directly modified to the migration file '0001_initial. py', which can avoid it.
Set in my project settings.
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
When executing the command “makemigrations”, a new migration file will be generated.
The id field type should be specified in the model.
The text was updated successfully, but these errors were encountered: