first version of safe DB setup
This commit is contained in:
parent
d08a34e88b
commit
0673511d39
4 changed files with 19 additions and 10 deletions
6
lib/mix/tasks/sample_psql.eex
Normal file
6
lib/mix/tasks/sample_psql.eex
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
||||
CREATE DATABASE pleroma_dev;
|
||||
ALTER DATABASE pleroma_dev OWNER TO pleroma;
|
||||
\c pleroma_dev;
|
||||
--Extensions made by ecto.migrate that need superuser access
|
||||
CREATE EXTENSION citext;
|
||||
Loading…
Add table
Add a link
Reference in a new issue