From a08f2b18c5e486dea09442c2666066afd8062dea Mon Sep 17 00:00:00 2001 From: isqianming Date: Sun, 6 Apr 2025 12:54:44 +0800 Subject: [PATCH] update bootstrap.yml --- report-core/src/main/resources/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-core/src/main/resources/bootstrap.yml b/report-core/src/main/resources/bootstrap.yml index a045678f..5217eacc 100644 --- a/report-core/src/main/resources/bootstrap.yml +++ b/report-core/src/main/resources/bootstrap.yml @@ -76,7 +76,7 @@ spring: # password: root # database: 1 flyway: - enabled: false #是否开启flyway(自动执行sql脚本),默认false + enabled: true #是否开启flyway(自动执行sql脚本),true,注意部分mysql版本存在自动执行失败的情况,需要改成false并手动执行所有sql文件:report-core --> src --> main --> resources -- > db.migration baseline-on-migrate: true #数据库连接配置 url: ${spring.datasource.url}