Spotter-VM/pandora/createdb.sql

7 lines
257 B
MySQL
Raw Normal View History

CREATE ROLE pandora NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${PANDORA_PWD}';
CREATE DATABASE pandora;
REVOKE ALL ON DATABASE pandora FROM public;
ALTER DATABASE pandora OWNER TO pandora;
\c pandora;
CREATE EXTENSION pg_trgm;