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_finds/models_finds.py | |
parent | a3c9b4a707d80c6ba043c11703f8af46ccb6d16c (diff) | |
download | Ishtar-49e87a9cb4e32c30e004dbf87f1b8f4d8326282f.tar.bz2 Ishtar-49e87a9cb4e32c30e004dbf87f1b8f4d8326282f.zip |
Finish migration refactoring
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r-- | archaeological_finds/models_finds.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index bc49601d4..0a32bba69 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -265,7 +265,7 @@ class BFBulkView(object): ON ope.id = cr.operation_id );""" DELETE_SQL = """ - DROP VIEW basefind_cached_bulk_update; + DROP VIEW IF EXISTS basefind_cached_bulk_update; """ @@ -725,7 +725,7 @@ class FirstBaseFindView(object): FROM archaeological_finds_find_base_finds GROUP BY find_id );""" DELETE_SQL = """ - DROP VIEW find_first_base_find; + DROP VIEW IF EXISTS find_first_base_find; """ @@ -749,7 +749,7 @@ class FBulkView(object): ON ope.id = cr.operation_id );""" DELETE_SQL = """ - DROP VIEW find_cached_bulk_update; + DROP VIEW IF EXISTS find_cached_bulk_update; """ |