Spotter-VM/lxc-apps/decidim/install/createdb.sql

8 lines
281 B
MySQL
Raw Normal View History

2019-11-15 18:00:26 +01:00
CREATE ROLE decidim NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${DECIDIM_PWD}';
CREATE DATABASE decidim;
REVOKE ALL ON DATABASE decidim FROM public;
ALTER DATABASE decidim OWNER TO decidim;
\c decidim;
CREATE EXTENSION ltree;
CREATE EXTENSION pg_trgm;