在运行migrate的时候遭遇报错,错误信息是:“sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column 'todos.list_id' could not find table 'todolist' with which to generate a foreign key to target column 'id'”

【已解决】sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column todos.list_id could

参考了网友的解答:https://blog.csdn.net/qq_38217864/article/details/104562106 得知应当修改文件名。

即:

【已解决】sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column todos.list_id could

问题得以解决

相关文章:

  • 2022-12-23
  • 2021-06-02
  • 2021-08-05
  • 2022-12-23
  • 2022-02-23
  • 2021-08-24
  • 2021-11-28
猜你喜欢
  • 2021-09-05
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-01-16
相关资源
相似解决方案