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
Hi, I couldn't reproduce your issue. Could you check your migration file for this model.
It should have something like this
classMigration(migrations.Migration):
dependencies= [
]
operations= [
migrations.CreateModel(
name='',
fields=[
],
options={
'db_table': '', # <-- Does this name match what's in the models.py?
},
),
]
Hi!
I'm create a model, but it does not respect the name that I assign from the
meta
method.models.py
python manage.py sqlmigrate users 0001
I expected table name users_teenus_products
Thanks!
The text was updated successfully, but these errors were encountered: