This commit is contained in:
Henry Jameson 2017-12-04 04:06:52 +03:00
parent 6b60f5f64a
commit 964e2dd2f0

View File

@ -1,7 +1,7 @@
CREATE USER IF NOT EXISTS pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB; CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
-- in case someone runs this second time accidentally -- in case someone runs this second time accidentally
ALTER USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB; ALTER USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
CREATE DATABASE IF NOT EXISTS pleroma_dev; CREATE DATABASE pleroma_dev;
ALTER DATABASE pleroma_dev OWNER TO pleroma; ALTER DATABASE pleroma_dev OWNER TO pleroma;
\c pleroma_dev; \c pleroma_dev;
--Extensions made by ecto.migrate that need superuser access --Extensions made by ecto.migrate that need superuser access