From fbc01a860f27d1929959e44a4762b33fe3c6e3af Mon Sep 17 00:00:00 2001 From: gracefulBrown Date: Thu, 9 Jun 2022 23:27:24 +0900 Subject: [PATCH] refactor: reformat codes --- .../prod/V25__create_studylogtemptag_table.sql | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/backend/src/main/resources/db/migration/prod/V25__create_studylogtemptag_table.sql b/backend/src/main/resources/db/migration/prod/V25__create_studylogtemptag_table.sql index 070b5d087..fe373b3b9 100644 --- a/backend/src/main/resources/db/migration/prod/V25__create_studylogtemptag_table.sql +++ b/backend/src/main/resources/db/migration/prod/V25__create_studylogtemptag_table.sql @@ -1,10 +1,9 @@ -create table studylog_temp_tag -( - id bigint not null auto_increment, - tag_id bigint, - studylog_temp_id bigint not null, - primary key (id) -) engine=InnoDB; +CREATE TABLE studylog_temp_tag( + id BIGINT NOT NULL AUTO_INCREMENT, + tag_id BIGINT NOT NULL, + studylog_temp_id BIGINT NOT NULL, + PRIMARY KEY (id) +) ENGINE=InnoDB; alter table studylog_temp_tag add constraint FK_STUDYLOG_TEMP_TAG_TAG