Move config templates to priv so they can be found in releases
This commit is contained in:
parent
2437f51284
commit
e76115989a
4 changed files with 6 additions and 5 deletions
7
priv/templates/sample_psql.eex
Normal file
7
priv/templates/sample_psql.eex
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
CREATE USER <%= dbuser %> WITH ENCRYPTED PASSWORD '<%= dbpass %>';
|
||||
CREATE DATABASE <%= dbname %> OWNER <%= dbuser %>;
|
||||
\c <%= dbname %>;
|
||||
--Extensions made by ecto.migrate that need superuser access
|
||||
CREATE EXTENSION IF NOT EXISTS citext;
|
||||
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
Loading…
Add table
Add a link
Reference in a new issue