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
use base instead. the downgrade command reads as downgrade to the provided revision.
Admittedly the docs could be clearer, like the command line help does not mention base or head.
@zzzeek anything against improving upon the docs / command line help?
"base" is just one of many kinds of identifiers that can be passed, which might not be appropriate in a multi-base environment. there's also relative revision identifiers, etc.
Describe the bug
Using
alembic downgrade
, it's impossible to cancel the initial revision:Running
alembic downgrade 2ba30ccd01a7
, does not drop the tables added by the initial migration2ba30ccd01a7
(despitedowngrade()
script is correct).Expected behavior
Need a way to downgrade to the state before the initial migration (for example, to run the initial migration again after this).
Error
No error message.
Versions.
The text was updated successfully, but these errors were encountered: