X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdbstructure.config.php;h=71c7d5cb1d4db15126876a523e6f8b382973c711;hb=24d2d0481abe57d3180a63cf738501bb8179d2cd;hp=82b84e8a6122005ad6aa592cab0b8ee109125a8e;hpb=9bbb55b2bb4f1b7b36fb054ea0d67cceedc8d3e1;p=friendica.git diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index 82b84e8a61..71c7d5cb1d 100644 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -56,7 +56,7 @@ use Friendica\Database\DBA; // This file is required several times during the test in DbaDefinition which justifies this condition if (!defined('DB_UPDATE_VERSION')) { - define('DB_UPDATE_VERSION', 1526); + define('DB_UPDATE_VERSION', 1529); } return [ @@ -168,6 +168,7 @@ return [ ], "indexes" => [ "PRIMARY" => ["uid", "gsid"], + "gsid" => ["gsid"] ], ], "item-uri" => [ @@ -229,8 +230,8 @@ return [ "archive" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => ""], "unsearchable" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Contact prefers to not be searchable"], "sensitive" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Contact posts sensitive content"], - "baseurl" => ["type" => "varbinary(383)", "default" => "", "comment" => "baseurl of the contact"], - "gsid" => ["type" => "int unsigned", "foreign" => ["gserver" => "id", "on delete" => "restrict"], "comment" => "Global Server ID"], + "baseurl" => ["type" => "varbinary(383)", "default" => "", "comment" => "baseurl of the contact from the gserver record, can be missing"], + "gsid" => ["type" => "int unsigned", "foreign" => ["gserver" => "id", "on delete" => "restrict"], "comment" => "Global Server ID, can be missing"], "bd" => ["type" => "date", "not null" => "1", "default" => DBA::NULL_DATE, "comment" => ""], // User depending fields "reason" => ["type" => "text", "comment" => ""],