akkoma/lib/mix/tasks/sample_psql.eex

7 lines
246 B
Elixir
Raw Normal View History

2017-11-26 17:57:49 +00:00
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;