7383-testToMaster #2445
|
@ -14,6 +14,6 @@ CREATE TABLE IF NOT EXISTS `vn`.`agencyWorkCenter` (
|
||||||
|
|
||||||
INSERT INTO vn.agencyWorkCenter (agencyFk, workCenterFk)
|
INSERT INTO vn.agencyWorkCenter (agencyFk, workCenterFk)
|
||||||
SELECT a.id, wc.id
|
SELECT a.id, wc.id
|
||||||
FROM agency a
|
FROM vn.agency a
|
||||||
JOIN warehouse w ON w.id = a.warehouseFk
|
JOIN vn.warehouse w ON w.id = a.warehouseFk
|
||||||
JOIN workCenter wc ON wc.warehouseFk = w.id;
|
JOIN vn.workCenter wc ON wc.warehouseFk = w.id;
|
Loading…
Reference in New Issue