aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
commit9d55a254dcd39e2a77a1c24625adba69d16acb7a (patch)
tree89c9d026a168139fe81a7bdf2479a7c68db06fdf /install/schema_mysql.sql
parentf9aecf5d4c8304acb51d05be5bf2fd4bb70f790f (diff)
downloadvolse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.gz
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.bz2
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.zip
this will fix the cards query and keep the rest intact
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index c011cc157..ea13e0de6 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -644,7 +644,6 @@ CREATE TABLE IF NOT EXISTS `item` (
`item_pending_remove` tinyint(1) NOT NULL DEFAULT 0 ,
`item_blocked` tinyint(1) NOT NULL DEFAULT 0 ,
PRIMARY KEY (`id`),
- KEY `uid` (`uid`),
KEY `parent` (`parent`),
KEY `created` (`created`),
KEY `edited` (`edited`),
@@ -690,7 +689,8 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `item_verified` (`item_verified`),
KEY `item_retained` (`item_retained`),
KEY `item_rss` (`item_rss`),
- KEY `item_consensus` (`item_consensus`)
+ KEY `item_consensus` (`item_consensus`),
+ KEY `item_type` (`item_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS `item_id` (