DOCS - H2 database table upgrade notes from 3.0 to 3.2 fix - related 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.
This commit is contained in:
szymonsztuka 2018-07-19 11:50:54 +01:00 committed by Katelyn Baker
parent 63a3671b17
commit 5ae8325980

View File

@ -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``.