Merge branch 'support-pg' into 'master'

fix mix mobilizon.instance gen

See merge request framasoft/mobilizon!289
This commit is contained in:
Thomas Citharel 2019-10-21 14:56:05 +02:00
commit 59caac86a1
2 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View file

@ -20,7 +20,7 @@ erl_crash.dump
/.env /.env
.env.2 .env.2
setup_db.psql /setup_db.psql
.elixir_ls .elixir_ls
/doc /doc

View file

@ -0,0 +1,8 @@
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;