From: Philipp Holzer Date: Fri, 1 Mar 2019 08:23:55 +0000 (+0100) Subject: Adding updated field to photo table X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4eef25d37bbd75935e5f86674a66e6cdcdca3fc;p=friendica.git Adding updated field to photo table --- diff --git a/config/dbstructure.config.php b/config/dbstructure.config.php index 050543675a..f03132adda 100644 --- a/config/dbstructure.config.php +++ b/config/dbstructure.config.php @@ -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"],