forked from mirrors/akkoma
Cleanup postgresql setup script
Drop unused CREATEDB privilege. Do not try to handle multiple run.
This commit is contained in:
parent
310a4bc25c
commit
a494508320
1 changed files with 2 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
||||||
CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>';
|
||||||
-- in case someone runs this second time accidentally
|
CREATE DATABASE pleroma_dev OWNER pleroma;
|
||||||
ALTER USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
|
|
||||||
CREATE DATABASE pleroma_dev;
|
|
||||||
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
|
||||||
CREATE EXTENSION IF NOT EXISTS citext;
|
CREATE EXTENSION IF NOT EXISTS citext;
|
||||||
|
|
Loading…
Reference in a new issue