This commit is contained in:
parent
48392879cb
commit
c7eeaf238a
|
@ -14,6 +14,6 @@ CREATE TABLE IF NOT EXISTS `vn`.`agencyWorkCenter` (
|
|||
|
||||
INSERT INTO vn.agencyWorkCenter (agencyFk, workCenterFk)
|
||||
SELECT a.id, wc.id
|
||||
FROM agency a
|
||||
JOIN warehouse w ON w.id = a.warehouseFk
|
||||
JOIN workCenter wc ON wc.warehouseFk = w.id;
|
||||
FROM vn.agency a
|
||||
JOIN vn.warehouse w ON w.id = a.warehouseFk
|
||||
JOIN vn.workCenter wc ON wc.warehouseFk = w.id;
|
Loading…
Reference in New Issue