diff --git a/db/versions/10995-navyErica/02-agencyWorkCenterCreate.sql b/db/versions/10995-navyErica/02-agencyWorkCenterCreate.sql index 2a5e12e22..5a3012959 100644 --- a/db/versions/10995-navyErica/02-agencyWorkCenterCreate.sql +++ b/db/versions/10995-navyErica/02-agencyWorkCenterCreate.sql @@ -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; \ No newline at end of file + FROM vn.agency a + JOIN vn.warehouse w ON w.id = a.warehouseFk + JOIN vn.workCenter wc ON wc.warehouseFk = w.id; \ No newline at end of file