1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Add update_3.0.x_3.1.0.sql

This commit is contained in:
Tim Düsterhus 2014-08-20 00:42:43 +02:00
parent 58e5fa4f58
commit c745c6f663

7
update_3.0.x_3.1.0.sql Normal file
View File

@ -0,0 +1,7 @@
ALTER TABLE wcf1_user CHANGE chatColor1 chatColor1 INT(10) DEFAULT NULL;
ALTER TABLE wcf1_user CHANGE chatColor2 chatColor2 INT(10) DEFAULT NULL;
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;