Skip to content

Commit

Permalink
CORE-17344 - Update the db schema by following the instructions (#1262)
Browse files Browse the repository at this point in the history
In CORE-15179 , the db table `config` was updated without following the best practices that have been suggested. This commit moves the code responsible for updating the `config` table to the correct file.
  • Loading branch information
filipesoliveira authored Sep 26, 2023
1 parent e886aad commit d6caca3
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 d6caca3

Please sign in to comment.