fix hack/db script
was foolish and failed to test this before, and then we further added a db password Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
This commit is contained in:
parent
6859445ddc
commit
67e8162570
6
hack/db
6
hack/db
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if command -qs pgcli; then
|
||||
pgcli -h localhost -p 6543 -U dev concourse
|
||||
if which pgcli >/dev/null; then
|
||||
PGPASSWORD=dev pgcli -h localhost -p 6543 -U dev concourse
|
||||
else
|
||||
psql -h localhost -p 6543 -U dev concourse
|
||||
PGPASSWORD=dev psql -h localhost -p 6543 -U dev concourse
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue