Create database user with superuser rights in gamification devshell
This commit is contained in:
parent
c2bf3cb352
commit
2e0baa4590
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@
|
|||
initdb --encoding=UTF8 --no-locale --no-instructions -U postgres
|
||||
echo "listen_addresses = ${"'"}${"'"}" >> $PGDATA/postgresql.conf
|
||||
echo "unix_socket_directories = '$PGDATA'" >> $PGDATA/postgresql.conf
|
||||
echo "CREATE USER gamification2 WITH PASSWORD 'gamification2' CREATEDB;" | postgres --single -E postgres
|
||||
echo "CREATE USER gamification2 WITH PASSWORD 'gamification2' CREATEDB SUPERUSER;" | postgres --single -E postgres
|
||||
'';
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue