mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-11-15 16:20:09 +00:00
3 lines
211 B
SQL
3 lines
211 B
SQL
ALTER TABLE chat1_room_to_user ADD FOREIGN KEY (roomID) REFERENCES chat1_room (roomID) ON DELETE CASCADE;
|
|
ALTER TABLE chat1_room_to_user ADD FOREIGN KEY (userID) REFERENCES wcf1_user (userID) ON DELETE CASCADE;
|