]> git.mxchange.org Git - friendica.git/commitdiff
Added mistakenly removed field
authorMichael <heluecht@pirati.ca>
Sat, 20 Feb 2021 21:33:21 +0000 (21:33 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 20 Feb 2021 21:33:21 +0000 (21:33 +0000)
database.sql
static/dbstructure.config.php

index 0067cc8e8d76e1641498ea3dd86a809b2d9571dd..1b4ef429b95e8d5723cbed9e6492afcb845b6b3a 100644 (file)
@@ -1056,6 +1056,7 @@ CREATE TABLE IF NOT EXISTS `post-thread` (
        `network` char(4) NOT NULL DEFAULT '' COMMENT '',
        `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
        `received` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
+       `changed` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Date that something in the conversation changed, indicating clients should fetch the conversation again',
        `commented` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT '',
         PRIMARY KEY(`uri-id`),
         INDEX `owner-id` (`owner-id`),
index ebb55b5d57f9e32353ba092d524a66cc26da4e0f..dad85d7b31dad477f4aa1652224eef17067b5cca 100644 (file)
@@ -1109,6 +1109,7 @@ return [
                        "network" => ["type" => "char(4)", "not null" => "1", "default" => "", "comment" => ""],
                        "created" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""],
                        "received" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""],
+                       "changed" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => "Date that something in the conversation changed, indicating clients should fetch the conversation again"],                        
                        "commented" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""]
                ],
                "indexes" => [