]> git.mxchange.org Git - friendica.git/commitdiff
Adding updated field to photo table
authorPhilipp Holzer <admin@philipp.info>
Fri, 1 Mar 2019 08:23:55 +0000 (09:23 +0100)
committerPhilipp Holzer <admin@philipp.info>
Fri, 1 Mar 2019 08:23:55 +0000 (09:23 +0100)
config/dbstructure.config.php

index 050543675a0a2869507c3ad7e330b0db47cc64f1..f03132addaf066596762d51dad9c3bbc41efd8a4 100644 (file)
@@ -34,7 +34,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1303);
+       define('DB_UPDATE_VERSION', 1304);
 }
 
 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"],