#insert into users (name, status, usertype) values ('kojiadm', 0, 0);
#insert into user_perms (user_id, perm_id) values (1, 1);

begin;
#insert into users (name, status, usertype) values ('kojiadm', 0, 0);
insert into users (name, status, usertype) values ('sharkcz', 0, 0);
insert into user_perms (user_id, perm_id) values (currval('users_id_seq'), 1);
commit;
