fp/services/migrations-schema/migrations/00133_add-mux_assets-fk-to-...

7 lines
192 B
MySQL
Raw Normal View History

2024-12-12 07:23:46 +00:00
ALTER TABLE api.vods ADD COLUMN mux_asset_id INTEGER;
ALTER TABLE api.vods
ADD CONSTRAINT vods_mux_asset_fk FOREIGN KEY (mux_asset_id)
REFERENCES api.mux_assets (id)
ON DELETE CASCADE;