diff --git a/node/src/main/resources/migration/node-core.changelog-master.xml b/node/src/main/resources/migration/node-core.changelog-master.xml
index 57b5d35760..ce77d1c08c 100644
--- a/node/src/main/resources/migration/node-core.changelog-master.xml
+++ b/node/src/main/resources/migration/node-core.changelog-master.xml
@@ -10,9 +10,8 @@
-->
+ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
@@ -20,5 +19,6 @@
+
diff --git a/node/src/main/resources/migration/node-core.changelog-tx-mapping.xml b/node/src/main/resources/migration/node-core.changelog-tx-mapping.xml
new file mode 100644
index 0000000000..c85c5461d9
--- /dev/null
+++ b/node/src/main/resources/migration/node-core.changelog-tx-mapping.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+ update node_transactions set state_machine_run_id=(select state_machine_run_id from
+ node_transaction_mappings where node_transactions.tx_id = node_transaction_mappings.tx_id)
+
+
+
+
\ No newline at end of file