diff --git a/src/main/resources/application-deploy.yaml b/src/main/resources/application-deploy.yaml index c57acd55..d63b7cd6 100644 --- a/src/main/resources/application-deploy.yaml +++ b/src/main/resources/application-deploy.yaml @@ -4,7 +4,7 @@ server: spring: sql: init: - schema-locations: classpath:schema/schema-mysql.sql + mode: never jpa: defer-datasource-initialization: false hibernate: diff --git a/src/main/resources/application-local.yaml b/src/main/resources/application-local.yaml index 3ed9a706..880a61c1 100644 --- a/src/main/resources/application-local.yaml +++ b/src/main/resources/application-local.yaml @@ -17,7 +17,9 @@ spring: password: sql: init: + mode: always schema-locations: classpath:schema/schema-h2.sql + data-locations: classpath:schema/region-data.sql security: jwt: