11 lines
307 B
SQL
11 lines
307 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `vn2008`.`person_user`
|
|
AS SELECT `u`.`id` AS `id`,
|
|
`u`.`role` AS `mysql_user_id`,
|
|
`u`.`name` AS `name`,
|
|
`u`.`password` AS `password`,
|
|
`u`.`active` AS `active`,
|
|
`u`.`lastPassChange` AS `last_pass_change`
|
|
FROM `account`.`user` `u`
|