salix/db/versions/10778-goldenSalal/00-firstScript.sql

2 lines
167 B
SQL

ALTER TABLE vn.routesMonitor ADD CONSTRAINT routesMonitor_FK_3 FOREIGN KEY (expeditionTruckFk) REFERENCES vn.expeditionTruck(id) ON DELETE RESTRICT ON UPDATE CASCADE;