Merge pull request 'refactor: refs #7684 vehicle warehouseFk fix' (!2697) from 7684-vehicleFixFk into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2697 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
a003cd24f6
|
@ -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