fp/services/migrations-schema/migrations/00128_add-vtuber-fk-to-vods...

6 lines
175 B
MySQL
Raw Normal View History

2024-12-12 07:23:46 +00:00
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