Move configuration to traditional way
⭐️ This is the way. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
8
priv/templates/setup_db.eex
Normal file
8
priv/templates/setup_db.eex
Normal 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;
|
||||
Reference in New Issue
Block a user