Skip to content

Commit

Permalink
Add db migration for policy to avoid NULLs
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf King <[email protected]>
  • Loading branch information
rkg-mm committed Sep 27, 2024
1 parent 03be17c commit 341b9a4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ private void setInitialIsLatestFlags(Connection connection) throws SQLException
stmt.executeUpdate("""
UPDATE "PROJECT" SET "IS_LATEST" = false
""");
stmt.executeUpdate("""
UPDATE "POLICY" SET "ONLY_FOR_LATEST_PROJECT_VERSION" = false
""");
}
}

Expand Down

0 comments on commit 341b9a4

Please sign in to comment.