refactor: schedule 스키마에 store_id FK 지정

This commit is contained in:
이상진 2025-09-18 20:25:32 +09:00
parent 8a9ec2e216
commit 910b19c83a

View File

@ -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)
);