1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-26 09:49:12 +00:00
mobilizon/support/postgresql/setup_db.psql
2019-10-21 14:41:52 +02:00

8 lines
263 B
Text

CREATE USER <%= database_username %> WITH ENCRYPTED PASSWORD '<%= database_password %>';
CREATE DATABASE <%= database_name %> OWNER <%= database_username %>;
\c <%= database_name %>
CREATE EXTENSION postgis;
CREATE EXTENSION pg_trgm;
CREATE EXTENSION unaccent;