From 96e6313fbdc763cba3d0e0e5f0429a5364267e6c Mon Sep 17 00:00:00 2001 From: Anthony Keenan Date: Mon, 2 Dec 2019 16:37:31 +0000 Subject: [PATCH] CORDA-3477: Update node database documentation to be correct (#5782) * Update node database documentation to be correct * Couple more discrepancies --- docs/source/node-database.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/node-database.rst b/docs/source/node-database.rst index 3ec39e537d..f9aaea22cd 100644 --- a/docs/source/node-database.rst +++ b/docs/source/node-database.rst @@ -81,7 +81,7 @@ By default, the node database has the following tables: +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | DATABASECHANGELOGLOCK | ID, LOCKED, LOCKGRANTED, LOCKEDBY | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| NODE_ATTACHMENTS | ATT_ID, CONTENT, FILENAME, INSERTION_DATE, UPLOADER | +| NODE_ATTACHMENTS | ATT_ID, CONTENT, FILENAME, INSERTION_DATE, UPLOADER, VERSION | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | NODE_ATTACHMENTS_CONTRACTS | ATT_ID, CONTRACT_CLASS_NAME | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -117,11 +117,11 @@ By default, the node database has the following tables: +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | NODE_SCHEDULED_STATES | OUTPUT_INDEX, TRANSACTION_ID, SCHEDULED_AT | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| NODE_TRANSACTIONS | TX_ID, TRANSACTION_VALUE, STATE_MACHINE_RUN_ID | +| NODE_TRANSACTIONS | TX_ID, TRANSACTION_VALUE, STATE_MACHINE_RUN_ID, STATUS | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| PK_HASH_TO_EXT_ID_MAP | ID, EXTERNAL_ID, PUBLIC_KEY_HASH | +| PK_HASH_TO_EXT_ID_MAP | EXTERNAL_ID, PUBLIC_KEY_HASH | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| STATE_PARTY | OUTPUT_INDEX, TRANSACTION_ID, ID, PUBLIC_KEY_HASH, X500_NAME | +| STATE_PARTY | OUTPUT_INDEX, TRANSACTION_ID, PUBLIC_KEY_HASH, X500_NAME | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | VAULT_FUNGIBLE_STATES | OUTPUT_INDEX, TRANSACTION_ID, ISSUER_NAME, ISSUER_REF, OWNER_NAME, QUANTITY | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -135,7 +135,7 @@ By default, the node database has the following tables: +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | VAULT_TRANSACTION_NOTES | SEQ_NO, NOTE, TRANSACTION_ID | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| V_PKEY_HASH_EX_ID_MAP | ID, PUBLIC_KEY_HASH, TRANSACTION_ID, OUTPUT_INDEX, EXTERNAL_ID | +| V_PKEY_HASH_EX_ID_MAP | PUBLIC_KEY_HASH, TRANSACTION_ID, OUTPUT_INDEX, EXTERNAL_ID | +-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ For more details see: :doc:`node-database-tables`.