更新flway
diff --git a/build.gradle b/build.gradle
index b5f6ed8..7cd37f7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -48,6 +48,7 @@
implementation group: 'javax.servlet', name: 'jstl', version: '1.2'
implementation group: 'taglibs', name: 'standard', version: '1.1.2'
implementation group: 'commons-codec', name: 'commons-codec', version: '1.6'
+ implementation 'org.flywaydb:flyway-core'
// implementation group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
implementation group: 'log4j', name: 'log4j', version: '1.2.16'
implementation files('libs/ojdbc6.jar')
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