roles/pleroma/templates/setup_db.psql.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 20 Jan 2020 13:54:14 -0600
changeset 89 4e1cf6df4ac9
parent 75 d8c87a41cc6d
permissions -rw-r--r--
Fixed systemd timer states.

CREATE USER {{pleroma_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}';
CREATE DATABASE {{pleroma_user}} WITH OWNER {{pleroma_user}};
\c {{pleroma_user}};
--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";