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`