aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-16 10:11:59 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-16 10:11:59 +0200
commitd5ffa5508d4c04be801d049b63ae6881460abe82 (patch)
tree4e52797a39add8e7662d06028c0b25584c432561 /install/schema_mysql.sql
parentcb3fb0049f64a92668bc94746dc55cc905683699 (diff)
downloadvolse-hubzilla-d5ffa5508d4c04be801d049b63ae6881460abe82.tar.gz
volse-hubzilla-d5ffa5508d4c04be801d049b63ae6881460abe82.tar.bz2
volse-hubzilla-d5ffa5508d4c04be801d049b63ae6881460abe82.zip
db update to add index to item.resource_id we query this in wikis a lot
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 0988bfa4a..3143854f5 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -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`),