improve abconfig queries

This commit is contained in:
Mario Vavti
2018-05-20 20:48:52 +02:00
parent 649260ce44
commit 43f04e4bc0
3 changed files with 30 additions and 3 deletions

View File

@@ -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;