ALTER TABLE IF EXISTS api.streams ADD COLUMN IF NOT EXISTS vtuber_id INT; ALTER TABLE api.streams ADD CONSTRAINT streams_vtuber_fk FOREIGN KEY (vtuber_id) REFERENCES api.vtubers (id) ON DELETE CASCADE;