Closed bbbart closed 9 months ago
Hi
This is a duplicate of #363 and partially of #278 There is a 3rd party extension that improves thing for postgresql, I don't know if it works also for sqlite https://github.com/Pogchamp-company/alembic-postgresql-enum
I see. Thanks for following this up!
Describe the bug When creating a new version script (I use Flask-Migrate), alembic reports it finds no changes in my schema when I add an item to an enum used as a column constraint.
Expected behavior I was hoping to get a migration script with an appropriate
alter_column
method appliedTo Reproduce
and later
now:
Error No change will be detected, leaving my application in a state in which it cannot be used to add problem sheets of the new problem type.
Versions.
Additional context This is a Flask app with the Flask-Migrate wrapper around alembic.
Have a nice day and a great 2024!