Commit 81d42b1b6d5682248cb14d3c8f86cbbed63f0469
1 parent
c482ce47
Exists in
master
and in
13 other branches
Allowing colab user to create database in dev/test
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
vagrant/centos.sh
| ... | ... | @@ -53,6 +53,7 @@ fi |
| 53 | 53 | |
| 54 | 54 | ### Create colab user in PostgreSQL |
| 55 | 55 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo |
| 56 | +echo "ALTER USER colab CREATEDB;" | |
| 56 | 57 | |
| 57 | 58 | ### Create colab DB in PostgreSQL |
| 58 | 59 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo | ... | ... |
vagrant/ubuntu.sh
| ... | ... | @@ -14,6 +14,7 @@ chown vagrant:vagrant /etc/colab |
| 14 | 14 | |
| 15 | 15 | ### Create colab user in PostgreSQL |
| 16 | 16 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo |
| 17 | +echo "ALTER USER colab CREATEDB;" | |
| 17 | 18 | |
| 18 | 19 | #i## Create colab DB in PostgreSQL |
| 19 | 20 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo | ... | ... |