Fix update agents plus view migration

This commit is contained in:
Djery-Tom 2022-04-13 13:02:54 +01:00
parent 3691491c84
commit f92c63fd54
1 changed files with 7 additions and 7 deletions

View File

@ -49,13 +49,13 @@ class UpdateAgentPlusView extends Migration
`t`.`name` AS `town_name`, `t`.`name` AS `town_name`,
`ag`.`town_id` AS `town_id` `ag`.`town_id` AS `town_id`
FROM FROM
((((((`iLink_preprod`.`agents` `ag` ((((((`agents` `ag`
JOIN `iLink_preprod`.`networks_agents` `na` ON ((`na`.`agent_id` = `ag`.`id`))) JOIN `networks_agents` `na` ON ((`na`.`agent_id` = `ag`.`id`)))
JOIN `iLink_preprod`.`networks` `ne` ON ((`ne`.`id` = `na`.`network_id`))) JOIN `networks` `ne` ON ((`ne`.`id` = `na`.`network_id`)))
JOIN `iLink_preprod`.`countries` `cti` ON ((`cti`.`id` = `ne`.`country_id`))) JOIN `countries` `cti` ON ((`cti`.`id` = `ne`.`country_id`)))
JOIN `iLink_preprod`.`codeGenerer` `cg` ON ((`cg`.`id` = `na`.`codeGenerer_id`))) JOIN `codeGenerer` `cg` ON ((`cg`.`id` = `na`.`codeGenerer_id`)))
JOIN `iLink_preprod`.`towns` `t` ON ((`ag`.`town_id` = `t`.`id`))) JOIN `towns` `t` ON ((`ag`.`town_id` = `t`.`id`)))
LEFT JOIN `iLink_preprod`.`nh_provider_classes` `pc` ON ((`pc`.`id` = `na`.`nh_provider_class_id`))) LEFT JOIN `nh_provider_classes` `pc` ON ((`pc`.`id` = `na`.`nh_provider_class_id`)))
"); ");
} }