CREATE OR REPLACE DEFINER=`vn`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`role` AS SELECT `account`.`role`.`id` AS `id`, `account`.`role`.`name` AS `name`, `account`.`role`.`description` AS `description`, `account`.`role`.`hasLogin` AS `hasLogin` FROM `account`.`role`