aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-03-19 10:52:10 +0100
committerMario Vavti <mario@mariovavti.com>2019-03-19 10:52:10 +0100
commitfad26a49beb9d067ad101798f4c0b2b15dcb035c (patch)
treea9ab66859b9a16f6bd4f02a034c3e655f92eba46 /install/schema_mysql.sql
parent1742159345dbfd9cc66b03710c9bcc3fc5f93378 (diff)
downloadvolse-hubzilla-fad26a49beb9d067ad101798f4c0b2b15dcb035c.tar.gz
volse-hubzilla-fad26a49beb9d067ad101798f4c0b2b15dcb035c.tar.bz2
volse-hubzilla-fad26a49beb9d067ad101798f4c0b2b15dcb035c.zip
mysql: remove some unused indices and add thr_parent index. pgsql: sync indices with mysql indices after testing on hub.disroot.org and add thr_parent
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql7
1 files changed, 2 insertions, 5 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 49a2c476a..cb4a3fa74 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -691,19 +691,16 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `changed` (`changed`),
KEY `item_origin` (`item_origin`),
KEY `item_wall` (`item_wall`),
- KEY `item_unseen` (`item_unseen`),
KEY `item_uplink` (`item_uplink`),
- KEY `item_notshown` (`item_notshown`),
KEY `item_nsfw` (`item_nsfw`),
- KEY `item_relay` (`item_relay`),
KEY `item_mentionsme` (`item_mentionsme`),
KEY `item_nocomment` (`item_nocomment`),
KEY `item_obscured` (`item_obscured`),
- KEY `item_verified` (`item_verified`),
KEY `item_rss` (`item_rss`),
KEY `item_consensus` (`item_consensus`),
KEY `item_deleted_pending_remove_changed` (`item_deleted`, `item_pending_remove`, `changed`),
- KEY `item_pending_remove_changed` (`item_pending_remove`, `changed`)
+ KEY `item_pending_remove_changed` (`item_pending_remove`, `changed`),
+ KEY `thr_parent` (`thr_parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS `item_id` (