Skip to content

Commit

Permalink
CORE-17344 - Update the db schema by following the instructions
Browse files Browse the repository at this point in the history
The db table `config` was updated without following the best practices that have been suggested. This commit moves that update to the correct file.
  • Loading branch information
filipesoliveira committed Sep 26, 2023
1 parent e886aad commit cc5f1f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,6 @@
<column name="update_actor" value="admin"/>
</insert>

<insert tableName="config">
<column name="section" value="corda.ledger.utxo"/>
<column name="config" value=""/>
<column name="schema_version_major" value="1"/>
<column name="schema_version_minor" value="0"/>
<column name="version" value="0"/>
<column name="is_deleted" value="false"/>
<column name="update_ts" valueDate="${now}"/>
<column name="update_actor" value="admin"/>
</insert>

<insert tableName="config">
<column name="section" value="corda.flow"/>
<column name="config" value=""/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
<column name="update_ts" valueDate="${now}"/>
<column name="update_actor" value="admin"/>
</insert>

<insert tableName="config">
<column name="section" value="corda.ledger.utxo"/>
<column name="config" value=""/>
<column name="schema_version_major" value="1"/>
<column name="schema_version_minor" value="0"/>
<column name="version" value="0"/>
<column name="is_deleted" value="false"/>
<column name="update_ts" valueDate="${now}"/>
<column name="update_actor" value="admin"/>
</insert>

</changeSet>

</databaseChangeLog>

0 comments on commit cc5f1f4

Please sign in to comment.