默认不开启flyway自动执行脚本

This commit is contained in:
JEECG
2026-01-28 15:28:42 +08:00
parent feff669413
commit 2e54ca6c08

View File

@ -25,7 +25,7 @@ spring:
# lazy-initialization: true
flyway:
# 是否启用flyway
enabled: true
enabled: false
# 迁移sql脚本存放路径
locations: classpath:flyway/sql/mysql
# 是否关闭要清除已有库下的表功能,生产环境必须为true,否则会删库,非常重要!!!