Skip to content

Commit

Permalink
Update scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/se…
Browse files Browse the repository at this point in the history
…rver/remotes/postgres/UpdateSchedulingGoalParameterSchemaAction.java

Co-authored-by: Mythicaeda <[email protected]>
  • Loading branch information
skovati and Mythicaeda authored Sep 6, 2024
1 parent c869aad commit 0d83357
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d83357

Please sign in to comment.