
BEGIN;

UPDATE api.vods
SET mux_asset_id = links.mux_asset_id
FROM api.vods_mux_asset_links links
WHERE api.vods.id = links.vod_id;

COMMIT;


