refactor: date column really can't be varchar

This commit is contained in:
Martin Ambrus
2017-11-17 17:20:05 +01:00
parent 1318f34cba
commit e2612efbf8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
-- 17.11.2017 -> query optimizations
ALTER TABLE `s1_prisoners` DROP INDEX `from`, ADD INDEX `from-t11` (`from`, `t11`);
ALTER TABLE `s1_enforcement` DROP INDEX `from`, ADD INDEX `from` (`from`, `hero`) USING BTREE;
ALTER TABLE `s1_forum_post` CHANGE `date` `date` INT NULL DEFAULT NULL;
-- 8.11.2017 -> query optimizations and cleanups
+1 -1
View File
@@ -769,7 +769,7 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` (
`post` longtext,
`topic` int(11) NOT NULL,
`owner` int(11) NOT NULL,
`date` varchar(255) DEFAULT NULL,
`date` int(11) DEFAULT NULL,
`alliance0` int(11) DEFAULT NULL,
`player0` int(11) DEFAULT NULL,
`coor0` int(11) DEFAULT NULL,