ALTER TABLE `vn`.`route` DROP FOREIGN KEY `fk_route_1`; ALTER TABLE `vn`.`route` ADD CONSTRAINT `fk_route_1` FOREIGN KEY (`zoneFk`) REFERENCES `vn`.`zone` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;