Project

General

Profile

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