root/scripts/util/empty_db @ 59
1 |
#!/bin/bash
|
---|---|
2 |
# Resets vegbank db
|
3 |
|
4 |
selfDir="$(dirname -- "$0")" |
5 |
|
6 |
export PGHOST=localhost PGUSER=vegbank PGPASSWORD=vegbank \ |
7 |
PGOPTIONS='--client-min-messages=WARNING' |
8 |
|
9 |
psql --quiet --dbname=vegbank <"$selfDir/vegbank_reset.sql" |