refactor: DB optimizations

This commit is contained in:
Martin Ambrus
2017-10-23 17:50:33 +02:00
parent 40ad09865c
commit 5567bcd85d
3 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -1032,7 +1032,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%medal` (
`points` varchar(15) NULL,
`img` varchar(10) NULL,
`del` tinyint(1) NULL DEFAULT '0',
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `week` (`week`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--