Skip to content

Commit 2a2d4e7

Browse files
authored
R3SOL-400 Explicitly add the JSON column type to v5.1 utxo creation (#1696)
Right now when running the ledger-utxo-creation-v5.1 changeset the property json.column.type comes from another changeset XML when they are imported together. However, this makes it impossible to execute ledger-utxo-creation-v5.1 as a standalone changeset because this property will become undefined. Adding this property to the changeset.
1 parent dcb45de commit 2a2d4e7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/check-pr-title.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
steps:
1010
- uses: morrisoncole/[email protected]
1111
with:
12-
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|DOC|ES|DA5)-\d+)(.*)'
12+
title-regex: '^((CORDA|R3SOL|EG|ENT|INFRA|CORE|DOC|ES|DA5)-\d+)(.*)'
1313
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

data/db-schema/src/main/resources/net/corda/db/schema/vnode-vault/migration/ledger-utxo-creation-v5.1.xml

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
55

6+
<property name="json.column.type" value="JSONB" dbms="postgresql"/>
7+
8+
<!-- Please note that HSQLDB schema is supported for integration test purposes only. -->
9+
<property name="json.column.type" value="CLOB" dbms="hsqldb"/>
10+
611
<changeSet author="R3.Corda" id="ledger-utxo-creation-v5.1">
712
<createIndex indexName="utxo_visible_transaction_state_idx_consumed"
813
tableName="utxo_visible_transaction_state">

0 commit comments

Comments
 (0)