From ee9d8cd9f055dc47f24c185ce288beba805780b9 Mon Sep 17 00:00:00 2001 From: pricelees Date: Sat, 13 Sep 2025 11:49:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=9A=8C=EC=9B=90=20/=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20=ED=85=8C=EC=9D=B4=EB=B8=94=20=EB=B6=84?= =?UTF-8?q?=EB=A6=AC=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=8A=A4=ED=82=A4?= =?UTF-8?q?=EB=A7=88=EC=97=90=EC=84=9C=EC=9D=98=20createdBy,=20updatedBy?= =?UTF-8?q?=20=EC=99=B8=EB=9E=98=ED=82=A4=20=EC=A0=9C=EC=95=BD=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/schema/schema-h2.sql | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/resources/schema/schema-h2.sql b/src/main/resources/schema/schema-h2.sql index 978bbae1..ec8ab571 100644 --- a/src/main/resources/schema/schema-h2.sql +++ b/src/main/resources/schema/schema-h2.sql @@ -88,10 +88,7 @@ create table if not exists theme ( created_at timestamp not null, created_by bigint not null, updated_at timestamp not null, - updated_by bigint not null, - - constraint fk_theme__created_by foreign key (created_by) references members (member_id), - constraint fk_theme__updated_by foreign key (updated_by) references members (member_id) + updated_by bigint not null ); create table if not exists schedule ( @@ -106,8 +103,6 @@ create table if not exists schedule ( updated_by bigint not null, constraint uk_schedule__date_time_theme_id unique (date, time, theme_id), - constraint fk_schedule__created_by foreign key (created_by) references members (member_id), - constraint fk_schedule__updated_by foreign key (updated_by) references members (member_id), constraint fk_schedule__theme_id foreign key (theme_id) references theme (id) );