]> git.mxchange.org Git - friendica.git/blobdiff - static/dbstructure.config.php
Some more fields that will be needed for the user query
[friendica.git] / static / dbstructure.config.php
index e413822d76d3041a1a8301f9673c9aeb5c83f05e..27752fb721379ebdddd3e4a59ae7af83feac6e57 100644 (file)
@@ -55,7 +55,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1382);
+       define('DB_UPDATE_VERSION', 1386);
 }
 
 return [
@@ -75,6 +75,7 @@ return [
                        "poco" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
                        "noscrape" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
                        "network" => ["type" => "char(4)", "not null" => "1", "default" => "", "comment" => ""],
+                       "protocol" => ["type" => "tinyint unsigned", "comment" => "The protocol of the server"],
                        "platform" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
                        "relay-subscribe" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Has the server subscribed to the relay system"],
                        "relay-scope" => ["type" => "varchar(10)", "not null" => "1", "default" => "", "comment" => "The scope of messages that the server wants to get"],
@@ -1101,6 +1102,7 @@ return [
                        "contact-id" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "foreign" => ["contact" => "id", "on delete" => "restrict"], "comment" => "contact.id"],
                        "guid" => ["type" => "char(16)", "not null" => "1", "default" => "", "comment" => "A unique identifier for this photo"],
                        "resource-id" => ["type" => "char(32)", "not null" => "1", "default" => "", "comment" => ""],
+                       "hash" => ["type" => "char(32)", "comment" => "hash value of the photo"],
                        "created" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => "creation date"],
                        "edited" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => "last edited date"],
                        "title" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],