author | Luke Hoersten <luke@hoersten.org> |
Thu, 16 Aug 2018 20:25:56 -0500 | |
changeset 60 | 48a3a65119d5 |
child 63 | 56531bbfd074 |
permissions | -rw-r--r-- |
CREATE USER {{pleroma_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}' CREATEDB; -- in case someone runs this second time accidentally ALTER USER {{pleroma_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}' CREATEDB; CREATE DATABASE {{pleroma_user}}; ALTER DATABASE {{pleroma_user}} OWNER TO {{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;