feat: refs #6777 resotre view
This commit is contained in:
parent
44f36e640b
commit
fb17a54ebd
|
@ -0,0 +1,39 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn2008`.`tblContadores`
|
||||
AS SELECT `c`.`id` AS `id`,
|
||||
`c`.`ochoa` AS `ochoa`,
|
||||
`c`.`invoiceOutFk` AS `nfactura`,
|
||||
`c`.`inventoried` AS `FechaInventario`,
|
||||
`c`.`itemLog` AS `HistoricoArticulo`,
|
||||
`c`.`weekGoal` AS `week_goal`,
|
||||
`c`.`photosPath` AS `Rutafotos`,
|
||||
`c`.`cashBoxNumber` AS `numCaja`,
|
||||
`c`.`redCode` AS `CodigoRojo`,
|
||||
`c`.`TabletTime` AS `Tablet_Hora`,
|
||||
`c`.`t0` AS `t0`,
|
||||
`c`.`t1` AS `t1`,
|
||||
`c`.`t2` AS `t2`,
|
||||
`c`.`t3` AS `t3`,
|
||||
`c`.`cc` AS `cc`,
|
||||
`c`.`palet` AS `palet`,
|
||||
`c`.`campaign` AS `campaign`,
|
||||
`c`.`campaignLife` AS `campaign_life`,
|
||||
`c`.`truckDays` AS `truck_days`,
|
||||
`c`.`transportCharges` AS `tasa_transporte`,
|
||||
`c`.`escanerPath` AS `escaner_path`,
|
||||
`c`.`printedTurn` AS `turnoimpreso`,
|
||||
`c`.`truckLength` AS `truck_length`,
|
||||
`c`.`fuelConsumption` AS `fuel_consumption`,
|
||||
`c`.`petrol` AS `petrol`,
|
||||
`c`.`maintenance` AS `maintenance`,
|
||||
`c`.`hourPrice` AS `hour_price`,
|
||||
`c`.`meterPrice` AS `meter_price`,
|
||||
`c`.`kmPrice` AS `km_price`,
|
||||
`c`.`routeOption` AS `route_option`,
|
||||
`c`.`dbproduccion` AS `dbproduccion`,
|
||||
`c`.`mdbServer` AS `mdbServer`,
|
||||
`c`.`fakeEmail` AS `fakeEmail`,
|
||||
`c`.`defaultersMaxAmount` AS `defaultersMaxAmount`,
|
||||
`c`.`ASIEN` AS `ASIEN`
|
||||
FROM `vn`.`config` `c`
|
|
@ -0,0 +1,6 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn2008`.`thermograph`
|
||||
AS SELECT `t`.`id` AS `thermograph_id`,
|
||||
`t`.`model` AS `model`
|
||||
FROM `vn`.`thermograph` `t`
|
|
@ -0,0 +1,8 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn2008`.`ticket_observation`
|
||||
AS SELECT `to`.`id` AS `ticket_observation_id`,
|
||||
`to`.`ticketFk` AS `Id_Ticket`,
|
||||
`to`.`observationTypeFk` AS `observation_type_id`,
|
||||
`to`.`description` AS `text`
|
||||
FROM `vn`.`ticketObservation` `to`
|
|
@ -0,0 +1,6 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn2008`.`tickets_gestdoc`
|
||||
AS SELECT `td`.`ticketFk` AS `Id_Ticket`,
|
||||
`td`.`dmsFk` AS `gestdoc_id`
|
||||
FROM `vn`.`ticketDms` `td`
|
Loading…
Reference in New Issue