Browse Source

New index that is needed for the expiry

pull/5328/head
Michael 4 years ago
parent
commit
0c51159111
  1. 3
      database.sql
  2. 1
      src/Database/DBStructure.php

3
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';
--

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

Loading…
Cancel
Save