mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-01 10:04:21 +00:00
refactor: date column really can't be varchar
This commit is contained in:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user