salix/db/changes/10250-curfew/02-travel.sql

8 lines
257 B
MySQL
Raw Normal View History

2020-11-16 07:48:42 +00:00
ALTER TABLE `vn`.travel
DROP FOREIGN KEY travel_ibfk_4;
ALTER TABLE `vn`.travel
ADD CONSTRAINT supplierFreighter_fk_4
FOREIGN KEY (cargoSupplierFk) REFERENCES supplierFreighter (supplierFk)
ON UPDATE CASCADE ON DELETE SET NULL;