Give create db permissions to humbug postgres user

(imported from commit 85775d1885efcd8790593e6841ce9d56f027eea7)
This commit is contained in:
Leo Franchi
2013-03-07 11:12:53 -05:00
parent cb7b80ac28
commit 0df3d5f2aa

View File

@@ -7,6 +7,7 @@ DROP SCHEMA public CASCADE;
CREATE DATABASE humbug;
CREATE USER humbug WITH PASSWORD '$PASSWORD';
GRANT ALL ON DATABASE humbug TO humbug;
ALTER USER humbug CREATEDB;
EOF
echo "Database created"