20 lines
416 B
MySQL
20 lines
416 B
MySQL
|
-- we are using joins instead of join because it matches all other table names being plural
|
||
|
|
||
|
-- drop table
|
||
|
DROP TABLE api.vods_s3_files_join CASCADE;
|
||
|
|
||
|
|
||
|
-- vods_s3_files_joins table schema
|
||
|
CREATE TABLE api.vods_s3_files_joins (
|
||
|
id UUID,
|
||
|
id_old INT,
|
||
|
vod_id UUID,
|
||
|
s3_file UUID
|
||
|
);
|
||
|
|
||
|
-- roles & permissions
|
||
|
GRANT all ON api.vods_s3_files_joins TO automation;
|
||
|
GRANT SELECT ON api.vods_s3_files_joins TO web_anon;
|
||
|
|
||
|
|