Skip to content

Commit

Permalink
adds CREATEDB permission to database user
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiley committed Jun 23, 2015
1 parent 6a21378 commit 368237d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/vagrant/postgresql_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ service postgresql restart
cat << EOF | su - postgres -c psql
-- Create the database user:
CREATE USER $APP_DB_USER PASSWORD '$APP_DB_PASS';
ALTER USER $APP_DB_USER CREATEDB;
EOF

cat << EOF | su - postgres -c psql
Expand Down

0 comments on commit 368237d

Please sign in to comment.