From 0d8335794826146317a9e213bc65528d32c3c318 Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 5 Sep 2024 17:00:27 -0700 Subject: [PATCH] Update scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java Co-authored-by: Mythicaeda --- .../postgres/UpdateSchedulingGoalParameterSchemaAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java b/scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java index b5d3bcfdb6..579291ad5d 100644 --- a/scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java +++ b/scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java @@ -15,7 +15,9 @@ /*package-local*/ final class UpdateSchedulingGoalParameterSchemaAction implements AutoCloseable { private final @Language("SQL") String sql = """ - update scheduler.scheduling_goal_definition gd set parameter_schema=?::jsonb where gd.goal_id = ? and gd.revision = ?; + update scheduler.scheduling_goal_definition gd + set parameter_schema=?::jsonb + where gd.goal_id = ? and gd.revision = ?; """; private final PreparedStatement statement;