mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:10:11 +01:00
add auditor account when creating piler database
This commit is contained in:
parent
e8e88bcf7a
commit
4919e69e85
@ -191,6 +191,7 @@ create table if not exists `user` (
|
|||||||
) Engine=InnoDB;
|
) Engine=InnoDB;
|
||||||
|
|
||||||
insert into `user` (`uid`, `username`, `realname`, `samaccountname`, `password`, `isadmin`, `domain`) values (0, 'admin', 'built-in piler admin', '', '$1$PItc7d$zsUgON3JRrbdGS11t9JQW1', 1, 'local');
|
insert into `user` (`uid`, `username`, `realname`, `samaccountname`, `password`, `isadmin`, `domain`) values (0, 'admin', 'built-in piler admin', '', '$1$PItc7d$zsUgON3JRrbdGS11t9JQW1', 1, 'local');
|
||||||
|
insert into `user` (`uid`, `username`, `realname`, `samaccountname`, `password`, `isadmin`, `domain`) values (1, 'auditor', 'built-in piler auditor', '', '$1$SLIIIS$JMBwGqQg4lIir2P2YU1y.0', 2, 'local');
|
||||||
|
|
||||||
create table if not exists `email` (
|
create table if not exists `email` (
|
||||||
`uid` int unsigned not null,
|
`uid` int unsigned not null,
|
||||||
@ -198,6 +199,7 @@ create table if not exists `email` (
|
|||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
insert into `email` (`uid`, `email`) values(0, 'admin@local');
|
insert into `email` (`uid`, `email`) values(0, 'admin@local');
|
||||||
|
insert into `email` (`uid`, `email`) values(1, 'auditor@local');
|
||||||
|
|
||||||
|
|
||||||
create table if not exists `email_groups` (
|
create table if not exists `email_groups` (
|
||||||
|
Loading…
Reference in New Issue
Block a user