1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00
Tims-Chat/update_3.0.x_3.1.0.sql

10 lines
457 B
MySQL
Raw Normal View History

2014-08-19 22:42:43 +00:00
ALTER TABLE wcf1_user CHANGE chatColor1 chatColor1 INT(10) DEFAULT NULL;
ALTER TABLE wcf1_user CHANGE chatColor2 chatColor2 INT(10) DEFAULT NULL;
2015-01-10 14:48:20 +00:00
ALTER TABLE chat1_room ADD COLUMN maxUsers INT(10) NOT NULL DEFAULT 0;
2014-08-19 22:42:43 +00:00
ALTER TABLE chat1_message CHANGE color1 color1 INT(10) DEFAULT NULL;
ALTER TABLE chat1_message CHANGE color2 color2 INT(10) DEFAULT NULL;
UPDATE wcf1_user SET chatColor1 = NULL, chatColor2 = NULL WHERE chatColor1 = 0 AND chatColor2 = 0;