dvdrental_reset.sh 341 Bytes
Newer Older
haoyuz3's avatar
haoyuz3 committed
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set "PGPASSWORD=m"
dropdb dvdrental
createdb dvdrental
pg_restore -U joker -d dvdrental /home/joker/sql-provenance/provsql/scripts
psql dvdrental < ../config/setup.sql
psql dvdrental < ../config/func.sql

git pull

python3 ../src/provenance.py -q ../config/dvdrental_query.in -o dvdrental_output.txt ../config/dvdrental_config.txt