ALTER TABLE `KPITARGET` DROP FOREIGN KEY `FK_nu5oa6egtv5fh7ocvq27g1gej`; ALTER TABLE pc ADD CONSTRAINT fk_cpu_model FOREIGN KEY (`kpi`) REFERENCES `KPI` (`ID`) ON DELETE CASCADE;