CREATE ROLE "ervu" WITH
  LOGIN
  NOSUPERUSER
  INHERIT
  NOCREATEDB
  NOCREATEROLE
  NOREPLICATION
  PASSWORD 'ervu_password';

CREATE ROLE "ervu_jbpm" WITH
  LOGIN
  NOSUPERUSER
  INHERIT
  NOCREATEDB
  NOCREATEROLE
  NOREPLICATION
  PASSWORD 'ervu_jbpm_password';


CREATE DATABASE "ervu_usr_autority"
    WITH
    OWNER = "ervu";

CREATE DATABASE "ervu_usr_autority_jbpm"
    WITH
    OWNER = "ervu_jbpm";
