Updated database documentation
This commit is contained in:
parent
8d550ad4e8
commit
d7502848fa
|
@ -1316,10 +1316,10 @@ CREATE TABLE IF NOT EXISTS `post-user-notification` (
|
||||||
--
|
--
|
||||||
CREATE TABLE IF NOT EXISTS `process` (
|
CREATE TABLE IF NOT EXISTS `process` (
|
||||||
`pid` int unsigned NOT NULL COMMENT 'The process ID of the current node',
|
`pid` int unsigned NOT NULL COMMENT 'The process ID of the current node',
|
||||||
`hostname` varchar(32) NOT NULL COMMENT 'The hostname of the node',
|
`hostname` varchar(32) NOT NULL COMMENT 'The hostname of the current node',
|
||||||
`command` varbinary(32) NOT NULL DEFAULT '' COMMENT '',
|
`command` varbinary(32) NOT NULL DEFAULT '' COMMENT '',
|
||||||
`created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
|
`created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
|
||||||
PRIMARY KEY(`pid`, `hostname`),
|
PRIMARY KEY(`pid`,`hostname`),
|
||||||
INDEX `command` (`command`)
|
INDEX `command` (`command`)
|
||||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Currently running system processes';
|
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Currently running system processes';
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ Database Tables
|
||||||
| [gserver](help/database/db_gserver) | Global servers |
|
| [gserver](help/database/db_gserver) | Global servers |
|
||||||
| [gserver-tag](help/database/db_gserver-tag) | Tags that the server has subscribed |
|
| [gserver-tag](help/database/db_gserver-tag) | Tags that the server has subscribed |
|
||||||
| [hook](help/database/db_hook) | addon hook registry |
|
| [hook](help/database/db_hook) | addon hook registry |
|
||||||
| [host](help/database/db_host) | Hostname |
|
|
||||||
| [inbox-status](help/database/db_inbox-status) | Status of ActivityPub inboxes |
|
| [inbox-status](help/database/db_inbox-status) | Status of ActivityPub inboxes |
|
||||||
| [intro](help/database/db_intro) | |
|
| [intro](help/database/db_intro) | |
|
||||||
| [item-uri](help/database/db_item-uri) | URI and GUID for items |
|
| [item-uri](help/database/db_item-uri) | URI and GUID for items |
|
||||||
|
|
|
@ -6,19 +6,20 @@ Currently running system processes
|
||||||
Fields
|
Fields
|
||||||
------
|
------
|
||||||
|
|
||||||
| Field | Description | Type | Null | Key | Default | Extra |
|
| Field | Description | Type | Null | Key | Default | Extra |
|
||||||
| ------- | ----------- | ------------- | ---- | --- | ------------------- | ----- |
|
| -------- | ---------------------------------- | ------------- | ---- | --- | ------------------- | ----- |
|
||||||
| pid | | int unsigned | NO | PRI | NULL | |
|
| pid | The process ID of the current node | int unsigned | NO | PRI | NULL | |
|
||||||
| command | | varbinary(32) | NO | | | |
|
| hostname | The hostname of the current node | varchar(32) | NO | PRI | NULL | |
|
||||||
| created | | datetime | NO | | 0001-01-01 00:00:00 | |
|
| command | | varbinary(32) | NO | | | |
|
||||||
|
| created | | datetime | NO | | 0001-01-01 00:00:00 | |
|
||||||
|
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
| ------- | ------- |
|
| ------- | ------------- |
|
||||||
| PRIMARY | pid |
|
| PRIMARY | pid, hostname |
|
||||||
| command | command |
|
| command | command |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
Loading…
Reference in a new issue