qt-chat-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

U1766779524__update.sql (177B)


      1 CREATE TRIGGER chat_participation_insert
      2 AFTER INSERT ON chat
      3 FOR EACH ROW
      4 BEGIN
      5     INSERT INTO chat_participation (chat_id, user_id)
      6     VALUES (NEW.id, NEW.created_by);
      7 END;