db update to add index to item.resource_id we query this in wikis a lot

This commit is contained in:
Mario Vavti
2017-09-16 10:11:59 +02:00
parent cb3fb0049f
commit d5ffa5508d
4 changed files with 19 additions and 3 deletions

View File

@@ -656,6 +656,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `aid` (`aid`),
KEY `owner_xchan` (`owner_xchan`),
KEY `author_xchan` (`author_xchan`),
KEY `resource_id` (`resource_id`),
KEY `resource_type` (`resource_type`),
KEY `item_restrict` (`item_restrict`),
KEY `item_flags` (`item_flags`),