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 156636ce8d..912a6c9e79 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
@@ -113,8 +113,22 @@
-
-
+
+
+
+
+
+
+
+
+
+
@@ -145,7 +159,6 @@
-
INSERT INTO utxo_transaction_metadata
SELECT DISTINCT
diff --git a/gradle.properties b/gradle.properties
index 37dfbd0648..31347a6a44 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 = 33
+cordaApiRevision = 34
# Main
kotlinVersion = 1.8.21