fix(database): enforce Flyway migration governance

This commit is contained in:
xqzp2026
2026-09-03 18:28:10 +09:30
parent b1dd68a14c
commit 87659f9de9
15 changed files with 228 additions and 18 deletions
@@ -18,6 +18,16 @@ app:
spring:
application:
name: xiaoqu-agent-service
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: ${SVC_FLYWAY_BASELINE_ON_MIGRATE:false}
baseline-version: 1
baseline-description: legacy V1 schema
validate-on-migrate: true
validate-migration-naming: true
out-of-order: false
clean-disabled: true
ai:
mcp:
server: