chore: update db-import db name
This commit is contained in:
parent
ee2ed27e9f
commit
2ef6985674
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Drop dummy ietf DB if it exists..."
|
||||
dropdb -U django --if-exists ietf
|
||||
echo "Drop dummy datatracker DB if it exists..."
|
||||
dropdb -U django --if-exists datatracker
|
||||
|
||||
# Extensions and search paths will be loaded from the dump
|
||||
echo "Import DB dump into ietf..."
|
||||
pg_restore --clean --if-exists --create --no-owner -U django -d postgres ietf.dump
|
||||
echo "Import DB dump into datatracker..."
|
||||
pg_restore --clean --if-exists --create --no-owner -U django -d postgres datatracker.dump
|
||||
|
||||
echo "Done!"
|
||||
|
|
Loading…
Reference in a new issue