.. | ||
versions | ||
env.py | ||
README.md | ||
script.py.mako |
数据库迁移文件
生成数据库迁移文件
alembic revision --autogenerate -m "create table user"
执行数据库迁移
alembic upgrade head
.. | ||
versions | ||
env.py | ||
README.md | ||
script.py.mako |
alembic revision --autogenerate -m "create table user"
alembic upgrade head