chore: one more SQL optimization to go

This commit is contained in:
Martin Ambrus
2017-10-24 20:54:05 +02:00
parent a33c4e2408
commit 1f4c7768d4
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -202,7 +202,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` (
PRIMARY KEY (`id`),
KEY `owner-active` (`owner`,`active`),
KEY `vref-type-kind` (`vref`,`type`,`kind`) USING BTREE,
KEY `active-type-lastupdate` (`active`,`type`,`lastupdate`)
KEY `active-type-lastupdate` (`active`,`type`,`lastupdate`),
KEY `size-type` (`size`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--