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