summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-01-29 17:41:48 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-07-01 18:02:28 +0200
commit75387c3c62f8623dfbcc8019c14e68de1391b0c3 (patch)
treecd63cc6c0ed2e4d907c0026ea00682067064912b /archaeological_operations/models.py
parent81bc316440558bf40a97f55424194f84e077f552 (diff)
downloadIshtar-75387c3c62f8623dfbcc8019c14e68de1391b0c3.tar.bz2
Ishtar-75387c3c62f8623dfbcc8019c14e68de1391b0c3.zip
Finish migration refactoring
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
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"))