refs #6689 feat: delete view vn2008 #1992
|
@ -1,6 +0,0 @@
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
||||||
SQL SECURITY DEFINER
|
|
||||||
VIEW `vn2008`.`Prioridades`
|
|
||||||
AS SELECT `qp`.`id` AS `Id_Prioridad`,
|
|
||||||
`qp`.`priority` AS `Prioridad`
|
|
||||||
FROM `vn`.`queuePriority` `qp`
|
|
|
@ -1,10 +0,0 @@
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
||||||
SQL SECURITY DEFINER
|
|
||||||
VIEW `vn2008`.`person_user`
|
|
||||||
AS SELECT `u`.`id` AS `id`,
|
|
||||||
`u`.`role` AS `mysql_user_id`,
|
|
||||||
`u`.`name` AS `name`,
|
|
||||||
`u`.`password` AS `password`,
|
|
||||||
`u`.`active` AS `active`,
|
|
||||||
`u`.`lastPassChange` AS `last_pass_change`
|
|
||||||
FROM `account`.`user` `u`
|
|
|
@ -1,9 +0,0 @@
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
||||||
SQL SECURITY DEFINER
|
|
||||||
VIEW `vn2008`.`person_user_idtrabajador`
|
|
||||||
AS SELECT `t`.`Id_Trabajador` AS `Id_Trabajador`
|
|
||||||
FROM (
|
|
||||||
`vn2008`.`person_user` `p`
|
|
||||||
JOIN `vn2008`.`Trabajadores` `t` ON(`p`.`id` = `t`.`user_id`)
|
|
||||||
)
|
|
||||||
WHERE `t`.`user_id` = `account`.`myUser_getId`()
|
|
|
@ -1,7 +0,0 @@
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
||||||
SQL SECURITY DEFINER
|
|
||||||
VIEW `vn2008`.`reference_min`
|
|
||||||
AS SELECT `rc`.`dated` AS `date`,
|
|
||||||
`rc`.`value` AS `rate`,
|
|
||||||
`rc`.`currencyFk` AS `moneda_id`
|
|
||||||
FROM `vn`.`referenceCurrent` `rc`
|
|
|
@ -0,0 +1 @@
|
||||||
|
REVOKE SELECT ON TABLE vn2008.reference_min FROM logistic;
|
Loading…
Reference in New Issue