diff --git a/config/vagrant/postgresql_setup.sh b/config/vagrant/postgresql_setup.sh index 7606f4e..0512139 100755 --- a/config/vagrant/postgresql_setup.sh +++ b/config/vagrant/postgresql_setup.sh @@ -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