We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class User(Model): id = IntField(pk=True)
Table name is user
user
class User(Model): id = IntField(pk=True) class Meta: table = "users"
No changes detected, but table name was changed!
No changes detected
The text was updated successfully, but these errors were encountered:
That should be fixed
Sorry, something went wrong.
Support rename table. (#139)
rename table
3f52ac3
No branches or pull requests
How to reproduce
1. Create model User without setting custom table name.
2. Init db / create migrations.
Table name is
user
3. Change table name for User model
4. Try to create migrations
No changes detected
, but table name was changed!The text was updated successfully, but these errors were encountered: