add batch file to re-create database
This commit is contained in:
parent
c7a92a27c8
commit
94d9a501de
4
rebuild_pg.cmd
Normal file
4
rebuild_pg.cmd
Normal 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\fleet\documents\tps_etl\ubm_schema.sql"
|
||||
"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\fleet\documents\tps_etl\ubm_data.sql"
|
Loading…
Reference in New Issue
Block a user