]> git.mxchange.org Git - friendica.git/commitdiff
Changed field description
authorMichael <heluecht@pirati.ca>
Sun, 7 Nov 2021 17:04:02 +0000 (17:04 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 Nov 2021 17:04:02 +0000 (17:04 +0000)
database.sql
doc/database/db_process.md
static/dbstructure.config.php

index 7c3b67715d9f498fbb51ee5c3d870a73aaa1bdff..fbccddcb281da5145efbcbdfe0f23adead4df25d 100644 (file)
@@ -1315,8 +1315,8 @@ CREATE TABLE IF NOT EXISTS `post-user-notification` (
 -- TABLE process
 --
 CREATE TABLE IF NOT EXISTS `process` (
-       `pid` int unsigned NOT NULL COMMENT 'The process ID of the current node',
-       `hostname` varchar(32) NOT NULL COMMENT 'The hostname of the current node',
+       `pid` int unsigned NOT NULL COMMENT 'The ID of the process',
+       `hostname` varchar(32) NOT NULL COMMENT 'The name of the host the process is ran on',
        `command` varbinary(32) NOT NULL DEFAULT '' COMMENT '',
        `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
         PRIMARY KEY(`pid`,`hostname`),
index 8ffec5767155ba600a6bb4c278e1550b3cac42b1..c0eb75f2974b61ac932f9c26c6fb547284837a3e 100644 (file)
@@ -6,12 +6,12 @@ Currently running system processes
 Fields
 ------
 
-| Field    | Description                        | Type          | Null | Key | Default             | Extra |
-| -------- | ---------------------------------- | ------------- | ---- | --- | ------------------- | ----- |
-| pid      | The process ID of the current node | int unsigned  | NO   | PRI | NULL                |       |
-| hostname | The hostname of the current node   | varchar(32)   | NO   | PRI | NULL                |       |
-| command  |                                    | varbinary(32) | NO   |     |                     |       |
-| created  |                                    | datetime      | NO   |     | 0001-01-01 00:00:00 |       |
+| Field    | Description                                | Type          | Null | Key | Default             | Extra |
+| -------- | ------------------------------------------ | ------------- | ---- | --- | ------------------- | ----- |
+| pid      | The ID of the process                      | int unsigned  | NO   | PRI | NULL                |       |
+| hostname | The name of the host the process is ran on | varchar(32)   | NO   | PRI | NULL                |       |
+| command  |                                            | varbinary(32) | NO   |     |                     |       |
+| created  |                                            | datetime      | NO   |     | 0001-01-01 00:00:00 |       |
 
 Indexes
 ------------
index 409829acd3914ac384b4047c7727ae8d1e3c3f9c..b52f67064808cd7a87e5787e5b76f92bae1e11e3 100644 (file)
@@ -1332,8 +1332,8 @@ return [
        "process" => [
                "comment" => "Currently running system processes",
                "fields" => [
-                       "pid" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "comment" => "The process ID of the current node"],
-                       "hostname" => ["type" => "varchar(32)", "not null" => "1", "primary" => "1", "comment" => "The hostname of the current node"],
+                       "pid" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "comment" => "The ID of the process"],
+                       "hostname" => ["type" => "varchar(32)", "not null" => "1", "primary" => "1", "comment" => "The name of the host the process is ran on"],
                        "command" => ["type" => "varbinary(32)", "not null" => "1", "default" => "", "comment" => ""],
                        "created" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""],
                ],