From 298022c3f333d42e71bed7cf43c580a20ea3b887 Mon Sep 17 00:00:00 2001 From: Ryan McCauley <32387857+k4pran@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:27:59 +0100 Subject: [PATCH] TRUNK-6155: Upgrade 2.7 Platform to Liquibase 4.8.0 (#4401) --- .../liquibase-update-to-latest-2.0.x.xml | 78 +++++++++---------- .../liquibase-update-to-latest-2.1.x.xml | 4 +- .../liquibase-update-to-latest-2.4.x.xml | 8 +- .../liquibase-update-to-latest-2.5.x.xml | 2 +- liquibase/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 48 insertions(+), 48 deletions(-) diff --git a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.0.x.xml b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.0.x.xml index a668a33be2dc..e319301c2a4a 100644 --- a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.0.x.xml +++ b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.0.x.xml @@ -56,7 +56,7 @@ - + Create the foreign key from the privilege required for to edit @@ -1702,7 +1702,7 @@ - + Dropping foreign key on concept_set.concept_id table @@ -1745,7 +1745,7 @@ - + Dropping foreign key on patient_identifier.patient_id column @@ -2265,7 +2265,7 @@ - + Dropping foreign key on concept_word.concept_id column @@ -2305,7 +2305,7 @@ - + Re-adding foreign key for concept_word.concept_name_id @@ -2314,7 +2314,7 @@ - + Adding foreign key for concept_word.concept_id column @@ -2527,7 +2527,7 @@ - + Remove the concept_source.voided_by foreign key constraint @@ -2727,7 +2727,7 @@ - + @@ -2771,7 +2771,7 @@ - + Restoring foreign key constraint on users.person_id @@ -2951,7 +2951,7 @@ - + Create the foreign key from the relationship.retired_by to users.user_id. @@ -3026,7 +3026,7 @@ - + Dropping unused foreign key from notification alert table @@ -3490,7 +3490,7 @@ - + Dropping foreign key constraint on concept_name_tag_map.concept_name_tag_id @@ -3613,7 +3613,7 @@ - + Restoring foreign key constraint on concept_name_tag_map.concept_name_tag_id @@ -4131,7 +4131,7 @@ - @@ -5384,7 +5384,7 @@ - + Adding foreign key constraint to concept_reference_map.concept_reference_term_id column - + Dropping foreign key constraint on concept_reference_map.source column @@ -5426,7 +5426,7 @@ - + Remove ON DELETE CASCADE from relationship table for person_a @@ -5436,7 +5436,7 @@ - + Remove ON DELETE CASCADE from relationship table for person_b @@ -6433,7 +6433,7 @@ - @@ -6446,7 +6446,7 @@ - @@ -6459,7 +6459,7 @@ - @@ -7143,7 +7143,7 @@ - + Adding FK constraint for test_order.specimen_source if necessary - + Adding quantity_units column to drug_order table @@ -7875,7 +7875,7 @@ - + Adding foreignKey constraint on dose_units - + Dropping fk constraint on orders.discontinued_by column to users.user_id column @@ -8011,7 +8011,7 @@ - + Adding the frequency column to the drug_order table @@ -8163,7 +8163,7 @@ - + Add foreign key constraint - + Temporary dropping foreign key on orders.discontinued_reason column @@ -8253,7 +8253,7 @@ - + Adding back foreign key on orders.discontinued_reason column - + Temporarily removing foreign key constraint from orders.orderer column @@ -8286,7 +8286,7 @@ - + Adding foreign key constraint to orders.orderer column - + Removing invalid foreign key constraint from order_type.parent column to order.order_id column @@ -8505,7 +8505,7 @@ - + Adding foreign key constraint from order_type.parent column to order_type.order_type_id column @@ -8528,7 +8528,7 @@ - + Dropping foreign key on patient.tribe @@ -8633,7 +8633,7 @@ - + Temporarily removing foreign key constraint from person_attribute_type.edit_privilege column @@ -8641,7 +8641,7 @@ - + Temporarily removing foreign key constraint from role_privilege.privilege column @@ -8661,7 +8661,7 @@ - + Adding foreign key constraint to person_attribute_type.edit_privilege column - + Adding foreign key constraint to role_privilege.privilege column - + Adding foreign key on patient_identifier.patient_id column diff --git a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.1.x.xml b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.1.x.xml index f3641be35647..784f7531aa1d 100644 --- a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.1.x.xml +++ b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.1.x.xml @@ -42,14 +42,14 @@ - + Dropping foreign key constraint member_patient - + Dropping foreign key constraint parent_cohort diff --git a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.4.x.xml b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.4.x.xml index 71b1bd3269e0..7ef379c4b752 100644 --- a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.4.x.xml +++ b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.4.x.xml @@ -116,7 +116,7 @@ - + Updating foreign key concept_attributes to add delete CASCADES @@ -125,7 +125,7 @@ - + Updating foreign key numeric_attributes to add delete CASCADES @@ -133,7 +133,7 @@ - + Updating foreign key person_id_for_patient to add delete CASCADES @@ -141,7 +141,7 @@ - + Updating foreign key test_order_order_id_fk to add delete CASCADES diff --git a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml index 96c7bb63d7f9..1cc135ca361e 100644 --- a/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml +++ b/api/src/main/resources/org/openmrs/liquibase/updates/liquibase-update-to-latest-2.5.x.xml @@ -366,7 +366,7 @@ - + Updating foreign key user_who_changed_user to add delete CASCADE diff --git a/liquibase/pom.xml b/liquibase/pom.xml index 83ffaf6c0218..753ea855d0de 100644 --- a/liquibase/pom.xml +++ b/liquibase/pom.xml @@ -74,7 +74,7 @@ org.liquibase liquibase-maven-plugin - 3.10.3 + 4.8.0 snapshots/${changelogfile} ${diffTypes} diff --git a/pom.xml b/pom.xml index 2fe9fd1ab96d..acd73045bb92 100644 --- a/pom.xml +++ b/pom.xml @@ -269,7 +269,7 @@ org.liquibase liquibase-core - 4.4.3 + 4.8.0 ch.qos.logback