22 lines
1.1 KiB
SQL
22 lines
1.1 KiB
SQL
create or replace definer = root@localhost view `salix`.`User` as
|
|
select `account`.`user`.`id` AS `id`,
|
|
`account`.`user`.`realm` AS `realm`,
|
|
`account`.`user`.`name` AS `name`,
|
|
`account`.`user`.`nickname` AS `nickname`,
|
|
`account`.`user`.`bcryptPassword` AS `password`,
|
|
`account`.`user`.`role` AS `role`,
|
|
`account`.`user`.`active` AS `active`,
|
|
`account`.`user`.`email` AS `email`,
|
|
`account`.`user`.`emailVerified` AS `emailVerified`,
|
|
`account`.`user`.`verificationToken` AS `verificationToken`,
|
|
`account`.`user`.`lang` AS `lang`,
|
|
`account`.`user`.`lastPassChange` AS `lastPassChange`,
|
|
`account`.`user`.`created` AS `created`,
|
|
`account`.`user`.`updated` AS `updated`,
|
|
`account`.`user`.`image` AS `image`,
|
|
`account`.`user`.`recoverPass` AS `recoverPass`,
|
|
`account`.`user`.`sync` AS `sync`,
|
|
`account`.`user`.`hasGrant` AS `hasGrant`
|
|
from `account`.`user`;
|
|
|