Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用基于 sqlalchemy 的数据库构建了一个烧瓶应用程序。我使用来自以下位置的迁移脚本: 链接到超级教程 但是当我运行这个脚本时,我得到一个属性错误。这是来自错误的屏幕截图:链接到图片
我会在这里复制内森的答案,这样我就可以证明它是正确的。
sqlachemy-migrate 已被 alembic 取代。您应该改用它。