commit | a0045f97d99b808ac6eef263a988610bb376a5fc | [log] [tgz] |
---|---|---|
author | Tang Cheng <cheng.tang@supwisdom.com> | 周三 4月 24 14:41:34 2019 +0800 |
committer | Tang Cheng <cheng.tang@supwisdom.com> | 周三 4月 24 14:41:34 2019 +0800 |
tree | 992cb06dd6a2d1a63e58ebe2b76beded6ffe584a | |
parent | 021822139aa5ef602bba380b7e31ceefad3757c5 [diff] |
更新flway
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 41f5532..afe6400 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties
@@ -6,6 +6,8 @@ spring.datasource.initialization-mode=always spring.datasource.continue-on-error=true spring.jpa.hibernate.ddl-auto=update + +spring.flyway.locations=classpath:db/migration # logging logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n logging.level.org.hibernate.SQL=debug
diff --git a/src/main/resources/data.sql b/src/main/resources/db/migration/V1_0-init_data.sql similarity index 100% rename from src/main/resources/data.sql rename to src/main/resources/db/migration/V1_0-init_data.sql