diff options
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 |
commit | 49e87a9cb4e32c30e004dbf87f1b8f4d8326282f (patch) | |
tree | cd63cc6c0ed2e4d907c0026ea00682067064912b /archaeological_operations/models.py | |
parent | a3c9b4a707d80c6ba043c11703f8af46ccb6d16c (diff) | |
download | Ishtar-49e87a9cb4e32c30e004dbf87f1b8f4d8326282f.tar.bz2 Ishtar-49e87a9cb4e32c30e004dbf87f1b8f4d8326282f.zip |
Finish migration refactoring
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")) |