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 the models were moved from models.py to a models folder, Django wanted to change the names from multigtfs_feed to models_feed. With the addition of app_label, this may have changed to multigtfs_models_feed, and db_table was needed to keep the existing table names.
It is possible this was fixed in later Django versions (https://code.djangoproject.com/ticket/3591 was closed 3 years ago), and explicitly setting db_table is now unneeded. The experiment would be to remove it and see what ./manage.py makemigrations multigtfs does.
Can you explain the reasoning for why
db_table
is being overridden in all the models instead of using the default ofapp_label
+ model name?The text was updated successfully, but these errors were encountered: