6 lines
183 B
MySQL
6 lines
183 B
MySQL
|
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;
|