我一直在努力寻找一个完整的例子,说明如何使用SQLalchemy和Alembic来压缩Flask应用程序的迁移。create the database" script, first createmy_metadata.create_all(engine)
# version table, "stamping" it with the most recent rev:
from alembi
我正在尝试在部署我的新应用时运行alembic升级。我已经搜索了3个小时的堆栈溢出,但没有找到任何有用的东西。我做的每一件事都有相同的结果。这来自我的heroku发布日志FAILED: No config file 'alembic.ini' found, or file has no '[alembic]' section 我在我的ProcFile/blog/posts/python-alembic-with-environment-variables