From eebb54dd6060be9f1d0db29a2535bcd862b5ce72 Mon Sep 17 00:00:00 2001 From: Graham Date: Fri, 30 Sep 2022 20:41:04 +0100 Subject: [PATCH] Disable formatting in all migrations If the checksum changes in the future then the flyway_schema_history table needs to be adjusted, which is awkward. Signed-off-by: Graham --- .../resources/org/openrs2/archive/migrations/V2__game_url.sql | 1 + .../main/resources/org/openrs2/archive/migrations/V5__keys.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/archive/src/main/resources/org/openrs2/archive/migrations/V2__game_url.sql b/archive/src/main/resources/org/openrs2/archive/migrations/V2__game_url.sql index 29ac64d6..9f9b3081 100644 --- a/archive/src/main/resources/org/openrs2/archive/migrations/V2__game_url.sql +++ b/archive/src/main/resources/org/openrs2/archive/migrations/V2__game_url.sql @@ -1,3 +1,4 @@ +-- @formatter:off ALTER TABLE games DROP COLUMN hostname, DROP COLUMN port, diff --git a/archive/src/main/resources/org/openrs2/archive/migrations/V5__keys.sql b/archive/src/main/resources/org/openrs2/archive/migrations/V5__keys.sql index f6baede7..74c03d4a 100644 --- a/archive/src/main/resources/org/openrs2/archive/migrations/V5__keys.sql +++ b/archive/src/main/resources/org/openrs2/archive/migrations/V5__keys.sql @@ -1,2 +1,3 @@ +-- @formatter:off ALTER TABLE games DROP COLUMN key;