Merge pull request #6779 from nupplaphil/issue/6498-image_rotation
Adding updated field to photo table
This commit is contained in:
commit
c079a35397
|
@ -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"],
|
||||
|
|
|
@ -879,6 +879,7 @@ CREATE TABLE IF NOT EXISTS `photo` (
|
|||
`deny_gid` mediumtext COMMENT 'Access Control - list of denied groups',
|
||||
`backend-class` tinytext COMMENT 'Storage backend class',
|
||||
`backend-ref` text COMMENT 'Storage backend data reference',
|
||||
`updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'edited timestamp',
|
||||
PRIMARY KEY(`id`),
|
||||
INDEX `contactid` (`contact-id`),
|
||||
INDEX `uid_contactid` (`uid`,`contact-id`),
|
||||
|
|
Loading…
Reference in New Issue
Block a user