We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15977cb commit 9b9a24dCopy full SHA for 9b9a24d
spring-boot-demo-flyway/README.md
@@ -57,6 +57,10 @@ spring:
57
clean-disabled: true
58
# 校验路径下是否存在 SQL 文件
59
check-location: false
60
+ # 最开始已经存在表结构,且不存在 flyway_schema_history 表时,需要设置为 true
61
+ baseline-on-migrate: true
62
+ # 基础版本 0
63
+ baseline-version: 0
64
datasource:
65
url: jdbc:mysql://127.0.0.1:3306/flyway-test?useSSL=false
66
username: root
spring-boot-demo-flyway/src/main/resources/application.yml
@@ -7,6 +7,10 @@ spring:
7
8
9
10
11
12
13
14
15
16
0 commit comments