提交 9b9a24d7 编写于 作者: 不合群的混子's avatar 不合群的混子

spring-boot-demo-flyway 完成

上级 15977cbe
......@@ -57,6 +57,10 @@ spring:
clean-disabled: true
# 校验路径下是否存在 SQL 文件
check-location: false
# 最开始已经存在表结构,且不存在 flyway_schema_history 表时,需要设置为 true
baseline-on-migrate: true
# 基础版本 0
baseline-version: 0
datasource:
url: jdbc:mysql://127.0.0.1:3306/flyway-test?useSSL=false
username: root
......
......@@ -7,6 +7,10 @@ spring:
clean-disabled: true
# 校验路径下是否存在 SQL 文件
check-location: false
# 最开始已经存在表结构,且不存在 flyway_schema_history 表时,需要设置为 true
baseline-on-migrate: true
# 基础版本 0
baseline-version: 0
datasource:
url: jdbc:mysql://127.0.0.1:3306/flyway-test?useSSL=false
username: root
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册