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

Use better default value for type in chat1_message

This commit is contained in:
Tim Düsterhus 2013-08-02 18:22:42 +02:00
parent 3dba0e8e6b
commit 80564a69d4

View File

@ -15,7 +15,7 @@ CREATE TABLE chat1_message (
username VARCHAR(255) DEFAULT NULL, username VARCHAR(255) DEFAULT NULL,
receiver INT(10) DEFAULT NULL, receiver INT(10) DEFAULT NULL,
time INT(10) NOT NULL, time INT(10) NOT NULL,
type TINYINT(3) NOT NULL DEFAULT 1, type TINYINT(3) NOT NULL DEFAULT 0,
message MEDIUMTEXT NOT NULL, message MEDIUMTEXT NOT NULL,
enableSmilies TINYINT(1) NOT NULL DEFAULT 1, enableSmilies TINYINT(1) NOT NULL DEFAULT 1,
enableHTML TINYINT(1) NOT NULL DEFAULT 0, enableHTML TINYINT(1) NOT NULL DEFAULT 0,