diff options
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 0e36570b6..ad0604fad 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1830,7 +1830,7 @@ class OperationByDepartment(models.Model): AS ON DELETE TO operation_department DO INSTEAD(); """ DELETE_SQL = """ - DROP VIEW operation_department; + DROP VIEW IF EXISTS operation_department; """ operation = models.ForeignKey(Operation, verbose_name=_("Operation")) |