pleroma/otp/templates/setup_db.psql.j2
changeset 104 73eb2db468ec
parent 103 78a072bbf3c1
child 227 2e0366f2dcbe
equal deleted inserted replaced
59:b339d3c51504 104:73eb2db468ec
       
     1 CREATE USER {{pleroma_db_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}';
       
     2 CREATE DATABASE {{pleroma_db}} WITH OWNER {{pleroma_db_user}};
       
     3 \c {{pleroma_db}};
       
     4 --Extensions made by ecto.migrate that need superuser access
       
     5 CREATE EXTENSION IF NOT EXISTS citext;
       
     6 CREATE EXTENSION IF NOT EXISTS pg_trgm;
       
     7 CREATE EXTENSION IF NOT EXISTS "uuid-ossp";