mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Allow null value for roomID in suspensions
This commit is contained in:
parent
7ce9f47acc
commit
072f6f2c83
@ -33,12 +33,12 @@ CREATE TABLE wcf1_chat_room (
|
||||
|
||||
DROP TABLE IF EXISTS wcf1_chat_room_suspension;
|
||||
CREATE TABLE wcf1_chat_room_suspension (
|
||||
roomID int(10) NOT NULL,
|
||||
userID int(10) NOT NULL,
|
||||
roomID int(10) DEFAULT NULL,
|
||||
type tinyint(3) NOT NULL,
|
||||
time int(10) NOT NULL,
|
||||
PRIMARY KEY (roomID, userID),
|
||||
KEY userID (userID),
|
||||
UNIQUE KEY main (userID, roomID),
|
||||
KEY roomID (roomID),
|
||||
KEY type (type, time),
|
||||
KEY time (time)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user