forked from UTulsa-Research/ag_gen
9 lines
161 B
Bash
Executable File
9 lines
161 B
Bash
Executable File
#!/bin/bash
|
|
|
|
psql postgresql://postgresr@127.0.0.1/ag_gen << EOF
|
|
pg_dump -s -f db.dump ag_gen
|
|
dropdb ag_gen
|
|
createdb ag_gen
|
|
pg_restore db.dump > psql ag_gen
|
|
EOF
|