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