1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-28 10:52:11 +00:00
mobilizon/priv/templates/setup_db.eex

9 lines
263 B
Elixir
Raw Normal View History

2019-10-18 18:04:39 +00:00
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;