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
Migration doesn't set default value for text field if use add_fields
migrator.add_fields( 'table_name', text=pw.CharField(default='N', constraints=[SQL('DEFAULT "N"')]))
But if I create a model with same field always is good :-/
@migrator.create_model class TableName(pw.Model): text=pw.CharField(default='N', constraints=[SQL('DEFAULT "N"')]))
Where is a mistake?
The text was updated successfully, but these errors were encountered:
Anybody looking into this?
Sorry, something went wrong.
I encountered the same problem
No branches or pull requests
Migration doesn't set default value for text field if use add_fields
But if I create a model with same field always is good :-/
Where is a mistake?
The text was updated successfully, but these errors were encountered: