salix/db/changes/10190-PostErte/00-route.sql

9 lines
210 B
MySQL
Raw Normal View History

2020-06-02 06:59:04 +00:00
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;