1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-19 17:00:08 +00:00
Tims-Chat/sql/0006-chat1_room_to_user-Timestamps.sql
2018-08-17 00:30:59 +02:00

6 lines
324 B
SQL

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