Tims-Chat/sql/0006-chat1_room_to_user-Tim...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
324 B
MySQL
Raw Normal View History

2018-08-16 22:30:59 +00:00
ALTER TABLE chat1_room_to_user ADD lastFetch INT(10) NOT NULL DEFAULT 0;
ALTER TABLE chat1_room_to_user ADD lastPush INT(10) NOT NULL DEFAULT 0;
ALTER TABLE chat1_room_to_user ADD active TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE chat1_room_to_user ADD KEY (roomID, active);
ALTER TABLE chat1_room_to_user ADD KEY (active);