-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
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
Downgrade don't drop ENUM Column Types #48
Labels
Comments
Flask-Migrate's migrations are generated by Alembic. You need to write a bug for Alembic at https://bitbucket.org/zzzeek/alembic/issues?status=new&status=open. |
@miguelgrinberg Is Flask-Migrate using the latest 0.7.5 version of Alembic ? |
Flask-Migrate works with any version of Alembic from 0.6 and up. |
If anyone comes here from Google. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migration script don't contains the statements for
custom type
drops.if we have a table with an ENUM field say,
Current Migration Script has been generated as follows,
It don't drop the custom enum type generated, so If we
downgrade
once next time when weupgrade
it breaks asMigration script should add the 'custom type' drop statement like below,
The text was updated successfully, but these errors were encountered: