diff --git a/deployment/postgres-init-db/sql/tables/scheduler/scheduling_specification/scheduling_model_specification_goals.sql b/deployment/postgres-init-db/sql/tables/scheduler/scheduling_specification/scheduling_model_specification_goals.sql index cd60b5c206..810e11c5de 100644 --- a/deployment/postgres-init-db/sql/tables/scheduler/scheduling_specification/scheduling_model_specification_goals.sql +++ b/deployment/postgres-init-db/sql/tables/scheduler/scheduling_specification/scheduling_model_specification_goals.sql @@ -6,7 +6,7 @@ create table scheduler.scheduling_model_specification_goals( priority integer not null, arguments jsonb not null default '{}'::jsonb, - primary key (model_id, goal_invocation_id), + primary key (goal_invocation_id), foreign key (model_id) references merlin.mission_model on update cascade