authservice-db-changelog.db-changelog-1.0.0.xml Maven / Gradle / Ivy
select count(*) from users where username='admin'
insert into users (username,password,password_salt,email,firstname,lastname) values ('admin','e0/CP6ewTISoWCNfJtUNw/vHTEWl6lXlXGjmE+hBH1o=', 'Iu9wre2JgXuxvRT2MA0CGQ==','admin@localhost','Admin','Istrator');
select count(*) from roles where role_name='useradmin'
insert into roles (role_name, description) values ('useradmin','Administrate users')
select count(*) from user_roles where role_name='useradmin' and username='admin'
insert into user_roles (role_name, username) values ('useradmin','admin')
© 2015 - 2024 Weber Informatics LLC | Privacy Policy