flask数据迁移downgrade时报错TypeError: object of type 'NoneType' has no len()

 

这是因为外键导致的错误,这时候需要你找到表中对应的外键并写道对应的版本中

 

posted @ 2019-05-31 19:17  平平无奇小辣鸡  阅读(2886)  评论(0)    收藏  举报