ci: add no-owner flag to db-import.sh

This commit is contained in:
Nicolas Giard 2023-04-12 22:52:12 -04:00 committed by GitHub
parent d7f808393d
commit fd92dc2b8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,6 @@ dropdb -U django --if-exists ietf
# Extensions and search paths will be loaded from the dump
echo "Import DB dump into ietf..."
pg_restore --clean --if-exists --create -U django -d postgres ietf.dump
pg_restore --clean --if-exists --create --no-owner -U django -d postgres ietf.dump
echo "Done!"