diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-20 20:48:52 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-20 20:48:52 +0200 |
commit | 55e1026c986f1c2c7e2a0376579b01111a93ab5d (patch) | |
tree | 07ef5c61899d410466ffcc682d491be7e943f0f1 /install/schema_mysql.sql | |
parent | 9e1af2492ff30f65e678ca1b885350069583ade0 (diff) | |
download | volse-hubzilla-55e1026c986f1c2c7e2a0376579b01111a93ab5d.tar.gz volse-hubzilla-55e1026c986f1c2c7e2a0376579b01111a93ab5d.tar.bz2 volse-hubzilla-55e1026c986f1c2c7e2a0376579b01111a93ab5d.zip |
improve abconfig queries
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r-- | install/schema_mysql.sql | 3 |
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; |