add rebuild script

This commit is contained in:
Paul Trowbridge 2017-10-13 11:41:43 -04:00
parent 9040c3249e
commit 811fbb90f2

4
rebuild_pg.cmd Normal file
View File

@ -0,0 +1,4 @@
"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d postgres -U postgres -c "DROP DATABASE ubm"
"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d postgres -U postgres -c "CREATE DATABASE ubm"
"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\ptrowbridge\documents\tps_etl\ubm_schema.sql"
"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\ptrowbridge\documents\tps_etl\ubm_data.sql"