ci: add dropdb to db-pg-import.sh

This commit is contained in:
Nicolas Giard 2022-12-14 02:02:21 +00:00
parent 6a70cefb55
commit 96be49f9d3
No known key found for this signature in database
GPG key ID: 85061B8F9D55B7C8

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
pg_restore -U django -C -d ietf ietf.dump
dropdb -U django --if-exists ietf
pg_restore -U django -d ietf ietf.dump