docs(deploy): add database migration step to deployment guide and create migration script

This commit is contained in:
fawney19
2025-12-16 09:21:24 +08:00
parent c42ebdd0ee
commit a94aeca2d3
2 changed files with 15 additions and 0 deletions

View File

@@ -62,6 +62,9 @@ docker-compose up -d
# 4. 更新
docker-compose pull && docker-compose up -d
# 5. 数据库迁移(首次部署或更新后执行)
./migrate.sh
```
### Docker Compose本地构建镜像