CREATE DATABASE vtreadability;

CREATE USER vtreadability WITH PASSWORD 'vtreadability2017';

ALTER DATABASE vtreadability OWNER TO vtreadability;

GRANT ALL PRIVILEGES ON DATABASE vtreadability TO vtreadability;

ALTER ROLE "vtreadability" WITH LOGIN;

\c vtreadability;

CREATE EXTENSION pgcrypto;

CREATE DATABASE vtinsights;

CREATE USER vtinsights WITH PASSWORD 'vtinsights2018';

ALTER DATABASE vtinsights OWNER TO vtinsights;

GRANT ALL PRIVILEGES ON DATABASE vtinsights TO vtinsights;

ALTER ROLE "vtinsights" WITH LOGIN;