From c745c6f6632cf991d546ec7e2713c8107474e630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 20 Aug 2014 00:42:43 +0200 Subject: [PATCH] Add update_3.0.x_3.1.0.sql --- update_3.0.x_3.1.0.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 update_3.0.x_3.1.0.sql diff --git a/update_3.0.x_3.1.0.sql b/update_3.0.x_3.1.0.sql new file mode 100644 index 0000000..e2c7957 --- /dev/null +++ b/update_3.0.x_3.1.0.sql @@ -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;