使用 flask-migrate 时如何为 alembic_version 指定 table 模式
How to specific table schema for alembic_version when using flask-migrate
我在 PostgreSQL 中使用 flask-migrate,当我执行 python manage.py db upgrade
命令时,它会在 [=15= 中生成 alembic_version table ]public 架构。生成 alembic_version table?
时如何更改默认模式
configure()
调用有一个 version_table_schema 参数。您可以在 env.py
文件中对其进行编辑。
我在 PostgreSQL 中使用 flask-migrate,当我执行 python manage.py db upgrade
命令时,它会在 [=15= 中生成 alembic_version table ]public 架构。生成 alembic_version table?
configure()
调用有一个 version_table_schema 参数。您可以在 env.py
文件中对其进行编辑。