From f92c63fd54e252d768d5107d9c584cbba846a3f9 Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Wed, 13 Apr 2022 13:02:54 +0100 Subject: [PATCH] Fix update agents plus view migration --- .../2022_01_19_122056_update_agent_plus_view.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/database/migrations/2022_01_19_122056_update_agent_plus_view.php b/database/migrations/2022_01_19_122056_update_agent_plus_view.php index d0ad148..301a7ed 100644 --- a/database/migrations/2022_01_19_122056_update_agent_plus_view.php +++ b/database/migrations/2022_01_19_122056_update_agent_plus_view.php @@ -49,13 +49,13 @@ class UpdateAgentPlusView extends Migration `t`.`name` AS `town_name`, `ag`.`town_id` AS `town_id` FROM - ((((((`iLink_preprod`.`agents` `ag` - JOIN `iLink_preprod`.`networks_agents` `na` ON ((`na`.`agent_id` = `ag`.`id`))) - JOIN `iLink_preprod`.`networks` `ne` ON ((`ne`.`id` = `na`.`network_id`))) - JOIN `iLink_preprod`.`countries` `cti` ON ((`cti`.`id` = `ne`.`country_id`))) - JOIN `iLink_preprod`.`codeGenerer` `cg` ON ((`cg`.`id` = `na`.`codeGenerer_id`))) - JOIN `iLink_preprod`.`towns` `t` ON ((`ag`.`town_id` = `t`.`id`))) - LEFT JOIN `iLink_preprod`.`nh_provider_classes` `pc` ON ((`pc`.`id` = `na`.`nh_provider_class_id`))) + ((((((`agents` `ag` + JOIN `networks_agents` `na` ON ((`na`.`agent_id` = `ag`.`id`))) + JOIN `networks` `ne` ON ((`ne`.`id` = `na`.`network_id`))) + JOIN `countries` `cti` ON ((`cti`.`id` = `ne`.`country_id`))) + JOIN `codeGenerer` `cg` ON ((`cg`.`id` = `na`.`codeGenerer_id`))) + JOIN `towns` `t` ON ((`ag`.`town_id` = `t`.`id`))) + LEFT JOIN `nh_provider_classes` `pc` ON ((`pc`.`id` = `na`.`nh_provider_class_id`))) "); }