From 4da7f5544f00b7dde4c6ccaaa8b04b8970e48427 Mon Sep 17 00:00:00 2001 From: Sean Porth Date: Mon, 26 Sep 2022 09:28:36 -0400 Subject: [PATCH] updated pre-condition table --- backend/src/main/resources/db/changelog/changelog.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/db/changelog/changelog.sql b/backend/src/main/resources/db/changelog/changelog.sql index c98abe7f4..4ba7e8e2e 100644 --- a/backend/src/main/resources/db/changelog/changelog.sql +++ b/backend/src/main/resources/db/changelog/changelog.sql @@ -209,7 +209,7 @@ GO -- changeset liquibase:1.13.2.1 dbms:mariadb,mysql -- preconditions onFail:MARK_RAN --- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'users' +-- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'shib_configuration_prop' -- comment: /* we don't need to run this if the system is new */ ALTER TABLE shib_configuration_prop MODIFY COLUMN description LONGTEXT; @@ -219,7 +219,7 @@ GO -- changeset liquibase:1.13.2.1 dbms:postgresql -- preconditions onFail:MARK_RAN --- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'users' +-- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'shib_configuration_prop' -- comment: /* we don't need to run this if the system is new */ ALTER TABLE shib_configuration_prop ALTER COLUMN description TYPE TEXT; @@ -229,7 +229,7 @@ GO -- changeset liquibase:1.13.2.1 dbms:mssql -- preconditions onFail:MARK_RAN --- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'users' +-- precondition-sql-check expectedResult:1 SELECT count(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'shib_configuration_prop' -- comment: /* we don't need to run this if the system is new */ ALTER TABLE shib_configuration_prop ALTER COLUMN description TEXT;