当我尝试做
alembic upgrade head
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
ERROR [alembic.util.messaging] Online migration expected to match one row when updating '3aae6532b560' to 'a1d8dae7cc' in 'alembic_version'; 2 found
FAILED: Online migration expected to match one row when updating '3aae6532b560'
to 'a1d8dae7cc' in 'alembic_version'; 2 found
Run Code Online (Sandbox Code Playgroud)
alembic current
给出了两个相似版本的 alembic,如:
3aae6532b560
3aae6532b560
Run Code Online (Sandbox Code Playgroud)
如何删除 alembic 的相似版本之一,即复制版本?
alembic 历史记录没有显示任何混乱的输出。
谢谢!