6 lines
175 B
MySQL
6 lines
175 B
MySQL
|
|
||
|
ALTER TABLE IF EXISTS api.vods
|
||
|
ADD CONSTRAINT vods_vtuber_fk FOREIGN KEY (vtuber)
|
||
|
REFERENCES api.vtubers (id) MATCH SIMPLE
|
||
|
ON UPDATE NO ACTION
|
||
|
ON DELETE CASCADE
|