From 3738219327e5894ed1a306403187bf063e909de1 Mon Sep 17 00:00:00 2001 From: Tamelianovych Date: Thu, 2 Jan 2025 13:04:27 +0100 Subject: [PATCH] DAT-18428 adding Liquibase default schema for lbuser --- .github/workflows/gcp.yml | 1 + src/test/resources/init-changelogs/gcp/mssql.sql | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/gcp.yml b/.github/workflows/gcp.yml index 861fd3370..927d355ac 100644 --- a/.github/workflows/gcp.yml +++ b/.github/workflows/gcp.yml @@ -156,6 +156,7 @@ jobs: if: ${{ steps.setup.outputs.databasePlatform == 'mssql' }} env: LIQUIBASE_PRO_LICENSE_KEY: ${{ secrets.LICENSE_KEY }} + LIQUIBASE_LIQUIBASE_SCHEMA_NAME: lbuser run: mvn -Dtest=${{ needs.setup.outputs.testClasses }} -DconfigFile=/harness-config-cloud.yml -DdbName=${{ steps.setup.outputs.databasePlatform }} -DdbVersion=${{ steps.setup.outputs.databaseVersion }} -Dprefix=gcp -DdbUsername=${{secrets.TH_DB_ADMIN}} -DdbPassword=${{secrets.TH_DB_PASSWD}} -DdbUrl='${{ secrets.TH_GCP_MSSQL_2019_URL }}' test - name: Archive GCP ${{ steps.setup.outputs.databasePlatform }}-${{ steps.setup.outputs.databaseVersion }} Test Results diff --git a/src/test/resources/init-changelogs/gcp/mssql.sql b/src/test/resources/init-changelogs/gcp/mssql.sql index dd54b97f2..ca7654608 100644 --- a/src/test/resources/init-changelogs/gcp/mssql.sql +++ b/src/test/resources/init-changelogs/gcp/mssql.sql @@ -13,8 +13,6 @@ BEGIN EXEC sp_addrolemember 'db_owner', 'lbuser'; END -ALTER USER lbuser WITH DEFAULT_SCHEMA = lbuser; - --changeset liquibase:2 runAlways:true DROP TABLE IF EXISTS [lbuser].[authors]