nim-vagrant/scripts/create-postgres.sh

6 lines
123 B
Bash
Raw Normal View History

2018-12-25 14:55:43 +00:00
#!/usr/bin/env bash
DB=$1;
# su postgres -c "dropdb $DB --if-exists"
su postgres -c "createdb -O homestead '$DB' || true"