schema 146 Bytes
Newer Older
1 2 3
#!/bin/bash

DB="gargandbV5"
4 5
rm ../../tmp*
rm ../../repo*
6 7 8 9

psql -c "drop database IF EXISTS \"${DB}\""
createdb "${DB}"
psql "${DB}" < schema.sql