From 0c51159111b7837ac960dc532d2add29a1594a47 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 6 Jul 2018 06:46:44 +0000 Subject: [PATCH] New index that is needed for the expiry --- database.sql | 3 ++- src/Database/DBStructure.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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"] = [ -- 2.39.5