2017-12-03 18:06:52 -07:00
|
|
|
CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
2017-12-03 16:06:05 -07:00
|
|
|
-- in case someone runs this second time accidentally
|
|
|
|
ALTER USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
2017-12-03 18:06:52 -07:00
|
|
|
CREATE DATABASE pleroma_dev;
|
2017-11-26 10:57:49 -07:00
|
|
|
ALTER DATABASE pleroma_dev OWNER TO pleroma;
|
|
|
|
\c pleroma_dev;
|
|
|
|
--Extensions made by ecto.migrate that need superuser access
|
2017-12-03 16:06:05 -07:00
|
|
|
CREATE EXTENSION IF NOT EXISTS citext;
|
2018-05-16 09:55:20 -06:00
|
|
|
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|