refactor: refs #7684 vehicle warehouseFk fix
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
e64f56cff1
commit
4b0a08d965
|
@ -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