mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 08:34:33 +00:00
71ad4307e1
... and some intelligent queries for a change :P
11 lines
594 B
Plaintext
11 lines
594 B
Plaintext
-- 22.10.2017 -> SQL optimizations
|
|
ALTER TABLE `s1_users` ADD INDEX(`tribe`);
|
|
ALTER TABLE `s1_users` ADD INDEX `timestamp-tribe` (`timestamp`, `tribe`);
|
|
|
|
-- 22.10.2017 -> forum topics table and indexe changes
|
|
ALTER TABLE `s1_forum_post` CHANGE `topic` `topic` INT NULL DEFAULT NULL;
|
|
ALTER TABLE `s1_forum_post` CHANGE `owner` `owner` INT NULL DEFAULT NULL;
|
|
ALTER TABLE `travian`.`s1_forum_post` ADD INDEX `topic-owner` (`topic`, `owner`);
|
|
|
|
-- 20.10.2017 -> changing MD5 for bcrypt password hashing algo
|
|
ALTER TABLE `s1_users` ADD `is_bcrypt` TINYINT(1) NOT NULL DEFAULT '0' AFTER `vactwoweeks`; |