Spotter-VM/crisiscleanup/install/createdb.sql

8 lines
334 B
SQL

CREATE ROLE crisiscleanup NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${CRISISCLEANUP_PWD}';
CREATE DATABASE crisiscleanup;
REVOKE ALL ON DATABASE crisiscleanup FROM public;
ALTER DATABASE crisiscleanup OWNER TO crisiscleanup;
\c crisiscleanup
CREATE EXTENSION hstore;
CREATE EXTENSION pg_stat_statements;