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"] = [