From 5e2c47df3f46e4b78036c989e6490970dab76dc5 Mon Sep 17 00:00:00 2001 From: Theresa Kamerman Date: Mon, 24 Feb 2025 13:44:18 -0800 Subject: [PATCH] fix model spec pk (scheduling) --- .../scheduling_model_specification_goals.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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