mirror of
https://gitee.com/qqtt-ah/ai-crm.git
synced 2026-11-24 08:29:20 +08:00
feat: 接入 Flyway 基线迁移,空库启动自动建表
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
# 空库启动时先跑 classpath:db/migration;业务种子仍由 SysInitRunner 灌入
|
||||
flyway:
|
||||
enabled: true
|
||||
locations: classpath:db/migration
|
||||
encoding: UTF-8
|
||||
# 基线含循环外键,单事务执行整份脚本
|
||||
execute-in-transaction: true
|
||||
jackson:
|
||||
time-zone: Asia/Shanghai
|
||||
mvc:
|
||||
|
||||
Reference in New Issue
Block a user