From 3fd9b7c1de25f822f7fc4c74f10bc7b790127ac3 Mon Sep 17 00:00:00 2001 From: pricelees Date: Sun, 10 Aug 2025 14:39:41 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20application=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=EC=97=90=EC=84=9C=20sql.init.mode=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-deploy.yaml | 2 +- src/main/resources/application-local.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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: