1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-26 15:55:06 +01:00
pleroma/priv/templates/sample_psql.eex

13 lines
397 B
Elixir
Raw Normal View History

CREATE USER <%= dbuser %> WITH ENCRYPTED PASSWORD '<%= dbpass %>';
CREATE DATABASE <%= dbname %> OWNER <%= dbuser %>;
\c <%= dbname %>;
2017-11-26 18:57:49 +01:00
--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";
<%= if rum_enabled do
"CREATE EXTENSION IF NOT EXISTS rum;"
else
""
end %>