CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`producer` AS SELECT `p`.`id` AS `producer_id`, `p`.`name` AS `name`, `p`.`isVisible` AS `visible` FROM `vn`.`producer` `p`