当我试着做的时候
alembic upgrade head我得到了这个错误:
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 foundalembic current
给出了两个类似版本的alembic,如:
3aae6532b560
3aae6532b560如何删除alembic的一个相似版本,即复制的版本?
alembic历史记录没有显示任何混乱的输出。
谢谢!
https://stackoverflow.com/questions/38248405
复制相似问题