aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-20 20:48:52 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-20 22:55:01 +0200
commit43f04e4bc0b041a4e6450f6aad3e9045fb5eb3cf (patch)
treef2927f1d806f7a27a1c2722e8cabf0745343b866 /install
parent649260ce44837fa8477ae1f13469b8d77ca96ec6 (diff)
downloadvolse-hubzilla-43f04e4bc0b041a4e6450f6aad3e9045fb5eb3cf.tar.gz
volse-hubzilla-43f04e4bc0b041a4e6450f6aad3e9045fb5eb3cf.tar.bz2
volse-hubzilla-43f04e4bc0b041a4e6450f6aad3e9045fb5eb3cf.zip
improve abconfig queries
Diffstat (limited to 'install')
-rw-r--r--install/schema_mysql.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 1e91619e3..9bf91fc51 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -7,8 +7,7 @@ CREATE TABLE IF NOT EXISTS `abconfig` (
`k` char(191) NOT NULL DEFAULT '',
`v` mediumtext NOT NULL,
PRIMARY KEY (`id`),
- KEY `chan` (`chan`),
- KEY `xchan` (`xchan`),
+ KEY `chan_xchan` (`chan`, `xchan`),
KEY `cat` (`cat`),
KEY `k` (`k`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;