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
Currently, if there is an exception during hook processing, Alembic leaves the migration in place. While it might be convenient for debugging, this also leaves an invalid file, which need to be removed manually. Ideally, the failed migration should be renamed to *.py.failed so that it could be cleaned up automatically. But for a quick fix not saving it while hooks fail would suffice.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, if there is an exception during hook processing, Alembic leaves the migration in place. While it might be convenient for debugging, this also leaves an invalid file, which need to be removed manually. Ideally, the failed migration should be renamed to
*.py.failed
so that it could be cleaned up automatically. But for a quick fix not saving it while hooks fail would suffice.Beta Was this translation helpful? Give feedback.
All reactions