Hello,
Thank you for the integration of "Migration".
Thank you for the integration of Migration.
In step "Manual Edditing", it is really convenient to change the target schema name.
But in the case of query views, the migration script automatically adds references to the source, which causes an error.
For example:
Source MySQL Local on schema = Toga_dev1
CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `facture_euro` AS
select
`i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`mesures` `m`
join `implantation` `i` ON ((`m`.`implantation_idImplantation` = `i`.`idimplantation`)));
Target MySQL Server on schema = Toga_dev8
USE `Toga_dev8`;
CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost`
SQL SECURITY DEFINER VIEW `Toga_dev1`.`facture_euro` AS
select `i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`Toga_dev1`.`mesures` `m`
join `Toga_dev1`.`implantation` `i` on((`m`.`implantation_idImplantation` = `i`.`idimplantation`))) ;
Is there an option or a solution to address this problem ?
Thank You
Thank you for the integration of "Migration".
Thank you for the integration of Migration.
In step "Manual Edditing", it is really convenient to change the target schema name.
But in the case of query views, the migration script automatically adds references to the source, which causes an error.
For example:
Source MySQL Local on schema = Toga_dev1
CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `facture_euro` AS
select
`i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`mesures` `m`
join `implantation` `i` ON ((`m`.`implantation_idImplantation` = `i`.`idimplantation`)));
Target MySQL Server on schema = Toga_dev8
USE `Toga_dev8`;
CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost`
SQL SECURITY DEFINER VIEW `Toga_dev1`.`facture_euro` AS
select `i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`Toga_dev1`.`mesures` `m`
join `Toga_dev1`.`implantation` `i` on((`m`.`implantation_idImplantation` = `i`.`idimplantation`))) ;
Is there an option or a solution to address this problem ?
Thank You