aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-26 16:45:04 -0800
committerzotlabs <mike@macgirvin.com>2018-02-26 16:45:04 -0800
commitafe2ba36904de4d308fb0620ebef52d7eefecda0 (patch)
tree178f0e376f243c7fa048b4e389001234c07bd72e /install
parent01776e767d1976663d2c36fd7e6e4431c16c84c1 (diff)
parentfe7fba4789fac2024c4e8e711e2f8a2492c683bd (diff)
downloadvolse-hubzilla-afe2ba36904de4d308fb0620ebef52d7eefecda0.tar.gz
volse-hubzilla-afe2ba36904de4d308fb0620ebef52d7eefecda0.tar.bz2
volse-hubzilla-afe2ba36904de4d308fb0620ebef52d7eefecda0.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'install')
-rw-r--r--install/schema_mysql.sql6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index e1a63c1e3..76e6032fc 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -657,6 +657,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `uid_item_wall` (`uid`, `item_wall`),
KEY `uid_item_starred` (`uid`, `item_starred`),
KEY `uid_item_retained` (`uid`, `item_retained`),
+ KEY `uid_item_private` (`uid`, `item_private`),
KEY `aid` (`aid`),
KEY `owner_xchan` (`owner_xchan`),
KEY `author_xchan` (`author_xchan`),
@@ -667,7 +668,6 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `commented` (`commented`),
KEY `verb` (`verb`),
KEY `obj_type` (`obj_type`),
- KEY `item_private` (`item_private`),
KEY `llink` (`llink`),
KEY `expires` (`expires`),
KEY `revision` (`revision`),
@@ -681,6 +681,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `comments_closed` (`comments_closed`),
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`),
@@ -692,7 +693,8 @@ CREATE TABLE IF NOT EXISTS `item` (
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_deleted_pending_remove_changed` (`item_deleted`, `item_pending_remove`, `changed`),
+ KEY `item_pending_remove_changed` (`item_pending_remove`, `changed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS `item_id` (