From 078bfd3ef30ecb53ccd454fbe98e0405f8509f51 Mon Sep 17 00:00:00 2001 From: beng9re Date: Sat, 6 Jan 2024 16:35:08 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20flyway=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 4 ---- src/main/resources/application.yml | 2 +- src/main/resources/db/migration/V1__init.sql | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/main/resources/db/migration/V1__init.sql diff --git a/build.gradle.kts b/build.gradle.kts index 28287c7..92d88c4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,10 +27,6 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-web") - //flyway - implementation("org.flywaydb:flyway-core") - implementation("org.flywaydb:flyway-mysql") - //swagger implementation("org.springdoc:springdoc-openapi-ui:1.7.0") diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8105739..2308b03 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -8,7 +8,7 @@ spring: jpa: open-in-view: false hibernate: - ddl-auto: validate + ddl-auto: create show-sql: true properties: hibernate: diff --git a/src/main/resources/db/migration/V1__init.sql b/src/main/resources/db/migration/V1__init.sql deleted file mode 100644 index dce40ff..0000000 --- a/src/main/resources/db/migration/V1__init.sql +++ /dev/null @@ -1,3 +0,0 @@ -create table SAMPLE ( - ID bigint not null primary key -);