-- vods_s3_files_join table schema
CREATE TABLE api.vods_s3_files_join (
  id UUID,
  vod_id UUID,
  s3_file UUID
);

-- roles & permissions
GRANT all ON api.vods_s3_files_join TO automation;
GRANT SELECT ON api.vods_s3_files_join TO web_anon;