You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# 数据库迁移
|
|
|
|
本目录是业务项目唯一的 Alembic migration 流。
|
|
|
|
升级数据库:
|
|
|
|
```bash
|
|
python -m flask --app app.py db upgrade
|
|
```
|
|
|
|
`versions/` 下的 migration 文件必须提交到 Git。
|
|
|
|
iTi-Flask 不提供系统业务 migration。
|
|
如果项目依赖 `iti-system`,使用 `iti-system` 自己的迁移同步命令。
|