4 lines
127 B
MySQL
4 lines
127 B
MySQL
|
ALTER TABLE api.vods
|
||
|
ADD CONSTRAINT vods_stream_fk FOREIGN KEY (stream_id)
|
||
|
REFERENCES api.streams (id)
|
||
|
ON DELETE CASCADE;
|