refactor: refs #7684 vehicle warehouseFk fix #2697
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE vn.vehicle DROP FOREIGN KEY provinceFk;
|
||||||
|
ALTER TABLE vn.vehicle
|
||||||
|
ADD CONSTRAINT vehicle_warehouse_FK FOREIGN KEY (warehouseFk) REFERENCES vn.warehouse(id) ON DELETE RESTRICT ON UPDATE CASCADE;
|
Loading…
Reference in New Issue