Skip to content

Commit

Permalink
DAT-18428 adding Liquibase default schema for lbuser
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamelianovych committed Jan 2, 2025
1 parent 75e1161 commit 3738219
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/test/resources/init-changelogs/gcp/mssql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 3738219

Please sign in to comment.