Skip to content

Commit

Permalink
R3SOL-400 Explicitly add the JSON column type to v5.1 utxo creation (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
nkovacsx authored Sep 30, 2024
1 parent dcb45de commit 2a2d4e7
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,6 @@ jobs:
steps:
- uses: morrisoncole/pr-lint-action@v1.7.1
with:
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|DOC|ES|DA5)-\d+)(.*)'
title-regex: '^((CORDA|R3SOL|EG|ENT|INFRA|CORE|DOC|ES|DA5)-\d+)(.*)'
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change
@@ -3,6 +3,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">

<property name="json.column.type" value="JSONB" dbms="postgresql"/>

<!-- Please note that HSQLDB schema is supported for integration test purposes only. -->
<property name="json.column.type" value="CLOB" dbms="hsqldb"/>

<changeSet author="R3.Corda" id="ledger-utxo-creation-v5.1">
<createIndex indexName="utxo_visible_transaction_state_idx_consumed"
tableName="utxo_visible_transaction_state">

0 comments on commit 2a2d4e7

Please sign in to comment.