6 lines
123 B
Bash
6 lines
123 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
DB=$1;
|
||
|
# su postgres -c "dropdb $DB --if-exists"
|
||
|
su postgres -c "createdb -O homestead '$DB' || true"
|