Skip to content

Commit

Permalink
DOCS - H2 database table upgrade notes from 3.0 to 3.2 fix - related …
Browse files Browse the repository at this point in the history
…to CORDA-1804. (#3654)

* Reassign the release version V3.0 to require running different SQL upgrade - related to CORDA-1804.

* Reassign the release version V3.0 to require running different SQL upgrade - related to CORDA-1804 - missing comma.

* Remove instruction for db upgrade from release candidates.
  • Loading branch information
szymonsztuka authored and Katelyn Baker committed Jul 19, 2018
1 parent 63a3671 commit 5ae8325
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/source/upgrade-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,12 @@ Database schema changes
^^^^^^^^^^^^^^^^^^^^^^^

* Database upgrade - a typo has been corrected in the ``NODE_ATTACHMENTS_CONTRACTS`` table name.
When upgrading from version 3.1, run the following command:
When upgrading from versions 3.0 or 3.1, run the following command:

.. sourcecode:: sql

ALTER TABLE [schema].NODE_ATTCHMENTS_CONTRACTS RENAME TO NODE_ATTACHMENTS_CONTRACTS;

When upgrading from version 3.0, run the following command:

.. sourcecode:: sql

ALTER TABLE [schema].NODE_ATTACHMENTS_CONTRACT_CLASS_NAME RENAME TO NODE_ATTACHMENTS_CONTRACTS;

Schema name is optional, run SQL when the node is not running.

* Postgres database upgrade - Change the type of the ``checkpoint_value`` column to ``bytea``.
Expand Down

0 comments on commit 5ae8325

Please sign in to comment.