create role "www-data";
ALTER ROLE "www-data" WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN NOREPLICATION;


CREATE DATABASE sampledb WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8';

GRANT ALL ON TABLE ident_users to "www-data";

GRANT ALL ON TABLE sampledb TO "www-data";
