fp/services/migrations-schema/migrations/00031_recreate-update_strea...

6 lines
235 B
MySQL
Raw Normal View History

2024-08-20 04:27:40 +00:00
-- when a stream is updated, we add a job in graphile to update_discord_message
CREATE TRIGGER stream_update
AFTER UPDATE ON api.streams
FOR EACH ROW
EXECUTE PROCEDURE public.tg__update_discord_message('update_discord_message');