SQLalchemy not find table for creating foreign key

前端 未结 3 632
别那么骄傲
别那么骄傲 2021-02-03 20:28

I have a problem with SQL Alchemy, while trying to create a database, i get:

\"sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column \'estate         


        
3条回答
  •  情深已故
    2021-02-03 21:20

    In case of Declarative, I solved this problem by simply importing the class that was 'could not be found'.

提交回复
热议问题