Skip to content

Commit dea56a8

Browse files
afdyArchmonger
andauthored
fix: --no-drop behaviour restored and working (#554)
Co-authored-by: Mark Bakhit <archiethemonger@gmail.com>
1 parent 5f3e875 commit dea56a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbbackup/management/commands/dbrestore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ def _restore_backup(self):
140140
self.connector = get_connector(self.database_name)
141141
if self.schemas:
142142
self.connector.schemas = self.schemas
143-
self.connector.restore_dump(input_file)
144143
self.connector.drop = not self.no_drop
144+
self.connector.restore_dump(input_file)

0 commit comments

Comments
 (0)