From 910b19c83a38e109cff88ebbea89c4130f74648d Mon Sep 17 00:00:00 2001 From: pricelees Date: Thu, 18 Sep 2025 20:25:32 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20schedule=20=EC=8A=A4=ED=82=A4?= =?UTF-8?q?=EB=A7=88=EC=97=90=20store=5Fid=20FK=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/schema/schema-h2.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/schema/schema-h2.sql b/src/main/resources/schema/schema-h2.sql index e462b8b4..ff0d4bf3 100644 --- a/src/main/resources/schema/schema-h2.sql +++ b/src/main/resources/schema/schema-h2.sql @@ -126,6 +126,7 @@ create table if not exists schedule ( updated_by bigint not null, constraint uk_schedule__store_id_date_time_theme_id unique (store_id, date, time, theme_id), + constraint fk_schedule__store_id foreign key (store_id) references store (id), constraint fk_schedule__theme_id foreign key (theme_id) references theme (id) );