From f71a8b565b273f139ce40ce59bea7200e0aa800e Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 16 Apr 2014 10:16:43 +0530 Subject: [PATCH] README: use CREATE ROLE statement in postgresql setup instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ec40864..2e9bfba7 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ docker run --name=gitlab -d --link mysql:mysql \ The image also supports using an external PostgreSQL Server. This is also controlled via environment variables. ```sql -CREATE USER gitlab WITH PASSWORD 'password'; +CREATE ROLE gitlab with LOGIN CREATEDB PASSWORD 'password'; CREATE DATABASE gitlabhq_production; GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab; ``` @@ -321,7 +321,7 @@ psql -U postgres -h ${POSTGRESQL_IP} ``` ```sql -CREATE USER gitlab WITH PASSWORD 'password'; +CREATE ROLE gitlab with LOGIN CREATEDB PASSWORD 'password'; CREATE DATABASE gitlabhq_production; GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab; ```