flyway 设置默认开启

This commit is contained in:
wangliwen 2022-06-15 15:27:06 +08:00
parent 81d362275a
commit 15fda12059
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ spring:
resources:
static-locations: classpath:/static,classpath:/public,file:${resource.path}
flyway:
enable: true
locations: classpath:db
baseline-on-migrate: true
baseline-version: 0