]> git.mxchange.org Git - friendica.git/commitdiff
New index that is needed for the expiry
authorMichael <heluecht@pirati.ca>
Fri, 6 Jul 2018 06:46:44 +0000 (06:46 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 6 Jul 2018 06:46:44 +0000 (06:46 +0000)
database.sql
src/Database/DBStructure.php

index 1f6545225ec390b5e3db436a30996b82e666616e..0b0607e62ecdff6b8f47e4838faac5cb2d92fff5 100644 (file)
@@ -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';
 
 --
index e615b1bc6e86bc32a1263f6bca894cb64a7ee7b9..d8eb742ddeeca1efe7070e47cb80a3f0a27e357a 100644 (file)
@@ -1247,6 +1247,7 @@ class DBStructure
                                                "uid_wall_changed" => ["uid","wall","changed"],
                                                "uid_eventid" => ["uid","event-id"],
                                                "icid" => ["icid"],
+                                               "iaid" => ["iaid"],
                                                ]
                                ];
                $database["item-activity"] = [