YoloFace-BE/alembic/README.md

14 lines
186 B
Markdown
Raw Normal View History

2024-11-07 06:12:47 +00:00
# 数据库迁移文件
## 生成数据库迁移文件
```shell
alembic revision --autogenerate -m "create table user"
```
## 执行数据库迁移
```shell
alembic upgrade head
```