fix(education): enforce migration role separation

This commit is contained in:
2026-07-31 16:26:39 +08:00
parent 26f9bcf696
commit 4573c41c0e
9 changed files with 349 additions and 13 deletions

View File

@@ -26,8 +26,8 @@ spring:
flyway:
enabled: true
url: ${FLYWAY_URL:${spring.datasource.dynamic.datasource.master.url}}
user: ${FLYWAY_USER:${spring.datasource.dynamic.datasource.master.username}}
password: ${FLYWAY_PASSWORD:${spring.datasource.dynamic.datasource.master.password}}
user: ${FLYWAY_USER}
password: ${FLYWAY_PASSWORD}
locations: classpath:db/migration
table: flyway_schema_history
baseline-on-migrate: true

View File

@@ -26,8 +26,8 @@ spring:
flyway:
enabled: true
url: ${FLYWAY_URL:${spring.datasource.dynamic.datasource.master.url}}
user: ${FLYWAY_USER:${spring.datasource.dynamic.datasource.master.username}}
password: ${FLYWAY_PASSWORD:${spring.datasource.dynamic.datasource.master.password}}
user: ${FLYWAY_USER}
password: ${FLYWAY_PASSWORD}
locations: classpath:db/migration
table: flyway_schema_history
baseline-on-migrate: true