CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`promissoryNote` AS SELECT `p`.`Id_Pagare` AS `id`, `p`.`Concepto` AS `Concept`, `p`.`pago_id` AS `paymentFk` FROM `vn2008`.`Pagares` `p`