coryd.dev/queries/triggers/mark_scheduled_as_watched.psql

4 lines
125 B
Text

CREATE TRIGGER mark_scheduled_as_watched
AFTER INSERT ON episodes
FOR EACH ROW
EXECUTE FUNCTION update_scheduled_on_watch();