---------------------
-- CREATE USERS DB --
---------------------

create user simplesip with encrypted password 'smplsIP';
grant all privileges on database pbx to simplesip;

create user postgres with encrypted password 'SIP$$';
grant all privileges on database pbx to postgres;

create user root with encrypted password '';
grant all privileges on database pbx to root;

