From 4de825627e3f642093c11f0829429036a8c4cb93 Mon Sep 17 00:00:00 2001 From: KushnirykOleh Date: Wed, 20 Nov 2024 19:11:34 +0200 Subject: [PATCH] wip --- .../foundational/changelogs/createTable.json | 2 +- .../foundational/changelogs/createTable.sql | 2 +- .../foundational/changelogs/createTable.yml | 2 +- .../expectedResultSet/createTable.json | 23 +++++++++++-------- .../expectedResultSet/db2-z/createTable.json | 8 +++---- 5 files changed, 20 insertions(+), 17 deletions(-) diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json index 1f53313c9..d254274d1 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.json @@ -2,7 +2,7 @@ "databaseChangeLog": [ { "changeSet": { - "id": "1", + "id": "2", "author": "as", "labels": "test_label", "context": "test_context", diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql index 140f7b457..bcb8e9cdd 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.sql @@ -1,6 +1,6 @@ --liquibase formatted sql ---changeset as:1 -context:test_context -labels:test_label +--changeset as:4 -context:test_context -labels:test_label --comment: test_comment CREATE TABLE test_table_sql (test_column INT); diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml index 309fa2a56..bff1379cf 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml +++ b/src/main/resources/liquibase/harness/compatibility/foundational/changelogs/createTable.yml @@ -3,7 +3,7 @@ databaseChangeLog: comment: test_comment labels: test_label context: test_context - id: 1 + id: 3 author: as changes: - createTable: diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json index 3a1696d7a..3f7258b95 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/createTable.json @@ -2,9 +2,10 @@ "createTable": [ { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 1, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", + "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", "CONTEXTS": "test_context", "DESCRIPTION": "sql", "ID": "1", @@ -14,36 +15,38 @@ }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 2, "COMMENTS": "test_comment", "AUTHOR": "as", "MD5SUM": "9:b93d6668d8df8115b2b634a585875da6", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_yaml", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_json", + "ID": "2", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" }, { "EXECTYPE": "EXECUTED", + "ORDEREXECUTED": 3, "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", + "MD5SUM": "9:7eb68c7a3994f387134835e99cf27a10", "CONTEXTS": "test_context", - "DESCRIPTION": "createTable tableName=test_table_json", - "ID": "1", + "DESCRIPTION": "createTable tableName=test_table_yaml", + "ID": "3", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", "TAG": "" }, { "EXECTYPE": "EXECUTED", "COMMENTS": "test_comment", "AUTHOR": "as", - "MD5SUM": "9:4a083dae8a82228dbf846133a767d880", + "MD5SUM": "9:23305a0f4312264f2bee0e1e23cad5de", "CONTEXTS": "test_context", "DESCRIPTION": "sql", - "ID": "1", + "ID": "4", "LABELS": "test_label", "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", "TAG": "test_tag" diff --git a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json index 68aec45c3..c076fcfed 100644 --- a/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json +++ b/src/main/resources/liquibase/harness/compatibility/foundational/expectedResultSet/db2-z/createTable.json @@ -20,7 +20,7 @@ "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.xml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.xml", "TAG": "" }, { @@ -32,7 +32,7 @@ "DESCRIPTION": "createTable tableName=test_table_yaml", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.yml", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.yml", "TAG": "" }, { @@ -44,7 +44,7 @@ "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.sql", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.sql", "TAG": "test_tag" }, { @@ -56,7 +56,7 @@ "DESCRIPTION": "sql", "ID": "1", "LABELS": "test_label", - "FILENAME": "liquibase\/harness\/base\/changelogs\/createTable.json", + "FILENAME": "liquibase\/harness\/compatibility\/foundational\/changelogs\/createTable.json", "TAG": "" } ]