ALTER TABLE api.vods ADD COLUMN s3_file_id INTEGER;

ALTER TABLE api.vods
  ADD CONSTRAINT vods_s3_file_fk FOREIGN KEY (s3_file_id)
  REFERENCES api.s3_files (id)
  ON DELETE CASCADE;