
-- for consistency, using vod_id instead of vod

ALTER TABLE api.builds
  DROP COLUMN vod;

ALTER TABLE api.builds
  ADD COLUMN vod_id UUID NOT NULL REFERENCES api.vods(id);