X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdbstructure.config.php;h=5428b0bde370998f3b16dbc5ed6be6b238a4ef4c;hb=670bbe58a1cddabb622387a8926eb39023cc8a00;hp=0019fdf7bf5a2567466545fa6673158cf01b3494;hpb=09a809aee5569f9ce69f9f6bc3baf214cbdf9e01;p=friendica.git diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index 0019fdf7bf..5428b0bde3 100644 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -55,7 +55,7 @@ use Friendica\Database\DBA; if (!defined('DB_UPDATE_VERSION')) { - define('DB_UPDATE_VERSION', 1442); + define('DB_UPDATE_VERSION', 1444); } return [ @@ -743,17 +743,6 @@ return [ "hook_file_function" => ["UNIQUE", "hook", "file", "function"], ] ], - "host" => [ - "comment" => "Hostname", - "fields" => [ - "id" => ["type" => "tinyint unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => "sequential ID"], - "name" => ["type" => "varchar(128)", "not null" => "1", "default" => "", "comment" => "The hostname"], - ], - "indexes" => [ - "PRIMARY" => ["id"], - "name" => ["UNIQUE", "name"], - ] - ], "inbox-status" => [ "comment" => "Status of ActivityPub inboxes", "fields" => [ @@ -1343,12 +1332,13 @@ return [ "process" => [ "comment" => "Currently running system processes", "fields" => [ - "pid" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "comment" => ""], + "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" => ""], ], "indexes" => [ - "PRIMARY" => ["pid"], + "PRIMARY" => ["pid", "hostname"], "command" => ["command"], ] ],