From: Michael Date: Fri, 6 Jul 2018 06:46:44 +0000 (+0000) Subject: New index that is needed for the expiry X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0c51159111b7837ac960dc532d2add29a1594a47;p=friendica.git New index that is needed for the expiry --- diff --git a/database.sql b/database.sql index 1f6545225e..0b0607e62e 100644 --- a/database.sql +++ b/database.sql @@ -540,7 +540,8 @@ CREATE TABLE IF NOT EXISTS `item` ( INDEX `deleted_changed` (`deleted`,`changed`), INDEX `uid_wall_changed` (`uid`,`wall`,`changed`), INDEX `uid_eventid` (`uid`,`event-id`), - INDEX `icid` (`icid`) + INDEX `icid` (`icid`), + INDEX `iaid` (`iaid`) ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Structure for all posts'; -- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index e615b1bc6e..d8eb742dde 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -1247,6 +1247,7 @@ class DBStructure "uid_wall_changed" => ["uid","wall","changed"], "uid_eventid" => ["uid","event-id"], "icid" => ["icid"], + "iaid" => ["iaid"], ] ]; $database["item-activity"] = [