1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-16 16:30:09 +00:00
Tims-Chat/sql/0006-chat1_room_to_user-Timestamps.sql

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);