mirror of
https://gitee.com/qqtt-ah/ai-crm.git
synced 2026-11-25 03:09:20 +08:00
feat: 接入 Flyway 基线迁移,空库启动自动建表
This commit is contained in:
@@ -25,7 +25,8 @@ deploy/ # 部署 TUI,流程见 deploy/MANUAL-DEPLOY.md
|
||||
- 接口文档:启动后 http://localhost:8080/doc.html(knife4j)
|
||||
- Spring profile:dev / test / pre / prod;部署环境端口 8101 / 8102 / 8103(见 deploy/MANUAL-DEPLOY.md)
|
||||
- **保留模块**:`sys` / `org` / `sub` / `open`(API Key 框架)/ `notify` / `agent`(LLM 配置 + MCP 框架)
|
||||
- 菜单清理:见 `sql/migration/V20261021c__disable_ecommerce_menus.sql`(对已有库执行)
|
||||
- **Flyway**:启动自动执行 `src/main/resources/db/migration/`(空库先跑 `V1__baseline_schema.sql`);菜单/权限种子仍由 `SysInitRunner` + `sql/init/sys_seed.sql` 灌入
|
||||
- 后续改表:只新增 `V{n}__xxx.sql`,不要手改已发布的版本文件
|
||||
|
||||
## 前端(apps/web)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user