|
|
|
-- 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');
|
|
|