]> git.mxchange.org Git - friendica.git/blobdiff - config/dbstructure.config.php
Database Structure version 1305
[friendica.git] / config / dbstructure.config.php
index 050543675a0a2869507c3ad7e330b0db47cc64f1..7488787a6a7ca6b0dcfc23dfcff5ec43e8e0a63e 100644 (file)
@@ -34,7 +34,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1303);
+       define('DB_UPDATE_VERSION', 1305);
 }
 
 return [
@@ -960,7 +960,8 @@ return [
                        "deny_cid" => ["type" => "mediumtext", "comment" => "Access Control - list of denied contact.id"],
                        "deny_gid" => ["type" => "mediumtext", "comment" => "Access Control - list of denied groups"],
                        "backend-class" => ["type" => "tinytext", "comment" => "Storage backend class"],
-                       "backend-ref" => ["type" => "text", "comment" => "Storage backend data reference"]
+                       "backend-ref" => ["type" => "text", "comment" => "Storage backend data reference"],
+                       "updated" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""]
                ],
                "indexes" => [
                        "PRIMARY" => ["id"],
@@ -1194,6 +1195,7 @@ return [
                ],
                "indexes" => [
                        "PRIMARY" => ["tid"],
+                       "term_type" => ["term", "type"],
                        "oid_otype_type_term" => ["oid", "otype", "type", "term(32)"],
                        "uid_otype_type_term_global_created" => ["uid", "otype", "type", "term(32)", "global", "created"],
                        "uid_otype_type_url" => ["uid", "otype", "type", "url(64)"],