[Database version 1444] Add "hidden" field to user-contact table

- This is a user-specific field
This commit is contained in:
Hypolite Petovan 2021-11-10 07:05:07 -05:00
parent 84e7f65d52
commit fd0d17df31
3 changed files with 5 additions and 2 deletions

View file

@ -55,7 +55,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1443);
define('DB_UPDATE_VERSION', 1444);
}
return [
@ -1530,6 +1530,7 @@ return [
"blocked" => ["type" => "boolean", "comment" => "Contact is completely blocked for this user"],
"ignored" => ["type" => "boolean", "comment" => "Posts from this contact are ignored"],
"collapsed" => ["type" => "boolean", "comment" => "Posts from this contact are collapsed"],
"hidden" => ["type" => "boolean", "comment" => "This contact is hidden from the others"],
"pending" => ["type" => "boolean", "comment" => ""],
"rel" => ["type" => "tinyint unsigned", "comment" => "The kind of the relation between the user and the contact"],
"info" => ["type" => "mediumtext", "comment" => ""],