使用Mysql-sqlalchemy执行数据库迁移 来更新数据库: 队长试探性的在网上找了几种方案 依然没有解决报错问题: 后来看了https://www.aliyun.com/jiaocheng/443945.html上面的内容(这上面用的是sqlite, 队长用的是mysql),终于想到正确操作 正确操作(及时数据库已经保存有大量数据,依然可行, 此操作方法不会删除数据库表,只是按照你之前的的操作更新表结构): 1.删除迁移文件夹migrations.(此时若尝试执行迁移数据库命令,会报出版…