salix/db/routines/vn/views/role.sql

9 lines
277 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`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`