From 8ecacc77f8265bcd57bab0ebf315071c7a1f8b50 Mon Sep 17 00:00:00 2001 From: woodjes Date: Tue, 6 Feb 2024 11:28:20 +0000 Subject: [PATCH 1/2] Add default value to logical_flow external_id - tested against mssql and h2 #CTCTOWALTZ-3035 #6976 --- .../resources/liquibase/db.changelog-1.58.xml | 45 +++++++++++++++++++ .../resources/liquibase/db.properties.xml | 3 ++ 2 files changed, 48 insertions(+) diff --git a/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml index 0c0c23e8e4..0786dccdc4 100644 --- a/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml +++ b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml @@ -25,6 +25,7 @@ 6944: add external_id to logical_flow table @@ -34,4 +35,48 @@ + + + 6944: adding external id to logical_flow + + + + + + + + + 6944: adding default value to logical_flow + + + 'external_id' is null + + + + + 6944: adding default value to logical_flow + + + + + 6944: add unique constraint to logical flow ext id + + + \ No newline at end of file diff --git a/waltz-schema/src/main/resources/liquibase/db.properties.xml b/waltz-schema/src/main/resources/liquibase/db.properties.xml index a1207b7438..1c5d4fa1af 100644 --- a/waltz-schema/src/main/resources/liquibase/db.properties.xml +++ b/waltz-schema/src/main/resources/liquibase/db.properties.xml @@ -81,6 +81,9 @@ + + + From acae423b4dd7c46b585c2a41656937367e53da21 Mon Sep 17 00:00:00 2001 From: David Watkins Date: Thu, 8 Feb 2024 09:13:15 +0000 Subject: [PATCH 2/2] Prep 1.58 #6910 --- .../src/main/resources/liquibase/db.changelog-1.58.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml index 0786dccdc4..6031bf796e 100644 --- a/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml +++ b/waltz-schema/src/main/resources/liquibase/db.changelog-1.58.xml @@ -55,9 +55,9 @@ 6944: adding default value to logical_flow - 'external_id' is null + external_id is NULL