13 lines
333 B
SQL
13 lines
333 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `salix`.`Account`
|
|
AS SELECT `u`.`id` AS `id`,
|
|
`u`.`name` AS `name`,
|
|
`u`.`password` AS `password`,
|
|
`u`.`role` AS `roleFk`,
|
|
`u`.`active` AS `active`,
|
|
`u`.`email` AS `email`,
|
|
`u`.`created` AS `created`,
|
|
`u`.`updated` AS `updated`
|
|
FROM `account`.`user` `u`
|