执行“ python xxx.py db migration -m'添加关系'”时

sqlalchemy ERROR [root] Error: Target database is not up to date.

数据库实际的header和migration文件夹里的version里的最新版本号步一直, 应该是执行了 migration 后忘记执行upgrade了, 然后又重复执行了几次mrgration, 就导致创建了几个版本,

sqlalchemy ERROR [root] Error: Target database is not up to date.

 

恢复

sqlalchemy ERROR [root] Error: Target database is not up to date.

相关文章:

  • 2022-01-31
  • 2021-06-29
  • 2021-12-20
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2021-12-06
  • 2021-12-24
相关资源
相似解决方案