pleroma/lib/mix/tasks/sample_psql.eex

7 lines
260 B
Elixir
Raw Normal View History

CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>';
CREATE DATABASE pleroma_dev OWNER pleroma;
2017-11-26 12:57:49 -05:00
\c pleroma_dev;
--Extensions made by ecto.migrate that need superuser access
CREATE EXTENSION IF NOT EXISTS citext;
CREATE EXTENSION IF NOT EXISTS pg_trgm;