-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAT-14478. replaced AdvancedHarnessSuiteTest with LiquibaseHarnessSui…
…teTest as a default test suite. Fixes in test data for mssql:gcp. (#539) * DAT-14478. replaced AdvancedHarnessSuiteTest with LiquibaseHarnessSuiteTest as a default test suite * DAT-14478. refactored AdvancedHarnessSuiteTest to use older version of advanced test * DAT-14478. reverted last commit * DAT-14478. removed unused imports * DAT-14478. changed init.sql for gcp mssql instance * DAT-14478. changed init.sql for gcp mssql instance * DAT-14478. fixed test data for gcp mssql harness suite * DAT-14478. renamed mssql:2019 to mssql:gcp * DAT-14478. small fix * DAT-14478. small fix * DAT-14478. fix in expeted sql for mssql gcp * DAT-14478. fix in expeted sql for mssql gcp
- Loading branch information
1 parent
fafb371
commit 7c471f7
Showing
4 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/setColumnRemarks.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IF EXISTS( SELECT extended_properties.value FROM SYS.EXTENDED_PROPERTIES WHERE major_id = OBJECT_ID('lbuser.authors') AND name = N'MS_DESCRIPTION' AND minor_id = ( SELECT column_id FROM SYS.COLUMNS WHERE name = 'id' AND object_id = OBJECT_ID('lbuser.authors')) ) BEGIN EXEC sys.sp_updateextendedproperty @name = N'MS_Description' , @value = N'A Test Column Remark' , @level0type = N'SCHEMA' , @level0name = N'lbuser' , @level1type = N'TABLE' , @level1name = N'authors' , @level2type = N'COLUMN' , @level2name = N'id' END ELSE BEGIN EXEC sys.sp_addextendedproperty @name = N'MS_Description' , @value = N'A Test Column Remark' , @level0type = N'SCHEMA' , @level0name = N'lbuser' , @level1type = N'TABLE' , @level1name = N'authors' , @level2type = N'COLUMN' , @level2name = N'id' END |
1 change: 1 addition & 0 deletions
1
src/main/resources/liquibase/harness/change/expectedSql/mssql/gcp/setTableRemarks.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IF EXISTS( SELECT extended_properties.value FROM SYS.EXTENDED_PROPERTIES WHERE major_id = OBJECT_ID('lbuser.authors') AND name = N'MS_DESCRIPTION' AND minor_id = 0 ) BEGIN EXEC sys.sp_updateextendedproperty @name = N'MS_Description' , @value = N'A Test Remark' , @level0type = N'SCHEMA' , @level0name = N'lbuser' , @level1type = N'TABLE' , @level1name = N'authors' END ELSE BEGIN EXEC sys.sp_addextendedproperty @name = N'MS_Description' , @value = N'A Test Remark' , @level0type = N'SCHEMA' , @level0name = N'lbuser' , @level1type = N'TABLE' , @level1name = N'authors' END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters