fp/services/migrations-schema/migrations/00057_recreate-vod_create.sql

9 lines
261 B
SQL

-- we need to re-create this because I think a CASCADE deleted it.
-- when a vod is created, we add a 'record' job in graphile-worker
CREATE TRIGGER vod_create
AFTER INSERT ON api.vods
FOR EACH ROW
EXECUTE PROCEDURE public.tg__add_record_job('record');