diff --git a/data/db-schema/src/main/resources/net/corda/db/schema/vnode-vault/migration/ledger-utxo-creation-v5.1.xml b/data/db-schema/src/main/resources/net/corda/db/schema/vnode-vault/migration/ledger-utxo-creation-v5.1.xml
index b958807b00..156636ce8d 100644
--- a/data/db-schema/src/main/resources/net/corda/db/schema/vnode-vault/migration/ledger-utxo-creation-v5.1.xml
+++ b/data/db-schema/src/main/resources/net/corda/db/schema/vnode-vault/migration/ledger-utxo-creation-v5.1.xml
@@ -121,6 +121,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO utxo_transaction_metadata
+ SELECT DISTINCT
+ hash,
+ data as canonical_data,
+ convert_from(data, 'UTF-8')::jsonb->'membershipGroupParametersHash' AS group_parameters_hash,
+ convert_from(data, 'UTF-8')::jsonb->'cpiMetadata'->'fileChecksum' AS cpi_file_checksum
+ FROM
+ utxo_transaction_component
+ WHERE
+ group_idx=0 AND
+ leaf_idx=0;
+
+
+
+
+
+
+
+
+
+
+
+
+ group_idx=0 AND leaf_idx=0
+
+
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index 73c15af796..37dfbd0648 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -9,7 +9,7 @@ cordaProductVersion = 5.1.0
# NOTE: update this each time this module contains a breaking change
## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to
## a per module property in which case module versions can change independently.
-cordaApiRevision = 32
+cordaApiRevision = 33
# Main
kotlinVersion = 1.8.21