Skip to content

Commit

Permalink
Merge pull request #860 from liquibase/diffBug
Browse files Browse the repository at this point in the history
adding logs
  • Loading branch information
PavloTytarchuk authored Aug 9, 2024
2 parents 6c5c35d + 838bd99 commit 047f10a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ class DiffCommandTestHelper {
map.put("addPrimaryKey", new ArrayList<>(List.of("dropPrimaryKey", "drop constraint")))
map.put("addUniqueConstraint", new ArrayList<>(List.of("dropUniqueConstraint", "drop constraint")))
}
uiService.sendMessage("------------changelogContent------")
uiService.sendMessage(changelogContent)
uiService.sendMessage("------------/changelogContent------")

uiService.sendMessage("changelogContent.contains createSequence="changelogContent.contains("createSequence"))

//Schema and Catalog to add. Also this will probably change while adding new types
for (Map.Entry<String, List> entry : map.entrySet()) {
Expand Down
66 changes: 33 additions & 33 deletions src/main/resources/liquibase/harness/diff/diffDatabases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
---
references:

- targetDatabaseName: mysql
targetDatabaseVersion: 5.7
referenceDatabaseName: mysql
referenceDatabaseVersion: 8
# - targetDatabaseName: mysql
# targetDatabaseVersion: 5.7
# referenceDatabaseName: mysql
# referenceDatabaseVersion: 8

# - targetDatabaseName: oracle
# targetDatabaseVersion: 18.3.0
Expand All @@ -30,32 +30,32 @@ references:
referenceDatabaseName: postgresql
referenceDatabaseVersion: 14

- targetDatabaseName: mariadb
targetDatabaseVersion: 10.6
referenceDatabaseName: mariadb
referenceDatabaseVersion: 10.7

- targetDatabaseName: mariadb
targetDatabaseVersion: 10.4
referenceDatabaseName: mariadb
referenceDatabaseVersion: 10.5

- targetDatabaseName: mariadb
targetDatabaseVersion: 10.2
referenceDatabaseName: mariadb
referenceDatabaseVersion: 10.3

- targetDatabaseName: mssql
targetDatabaseVersion: 2017
referenceDatabaseName: mssql
referenceDatabaseVersion: 2022

- targetDatabaseName: mssql
targetDatabaseVersion: 2019
referenceDatabaseName: mssql
referenceDatabaseVersion: 2022

- targetDatabaseName: mssql
targetDatabaseVersion: 2022
referenceDatabaseName: mssql
referenceDatabaseVersion: 2019
# - targetDatabaseName: mariadb
# targetDatabaseVersion: 10.6
# referenceDatabaseName: mariadb
# referenceDatabaseVersion: 10.7
#
# - targetDatabaseName: mariadb
# targetDatabaseVersion: 10.4
# referenceDatabaseName: mariadb
# referenceDatabaseVersion: 10.5
#
# - targetDatabaseName: mariadb
# targetDatabaseVersion: 10.2
# referenceDatabaseName: mariadb
# referenceDatabaseVersion: 10.3
#
# - targetDatabaseName: mssql
# targetDatabaseVersion: 2017
# referenceDatabaseName: mssql
# referenceDatabaseVersion: 2022
#
# - targetDatabaseName: mssql
# targetDatabaseVersion: 2019
# referenceDatabaseName: mssql
# referenceDatabaseVersion: 2022
#
# - targetDatabaseName: mssql
# targetDatabaseVersion: 2022
# referenceDatabaseName: mssql
# referenceDatabaseVersion: 2019

0 comments on commit 047f10a

Please sign in to comment.