mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
drop the trigger only if it exists
This commit is contained in:
parent
350c619df1
commit
2e6f3898ba
@ -621,8 +621,8 @@ class SchemaUpgrade(object):
|
||||
'''
|
||||
|
||||
script = '''
|
||||
DROP TRIGGER series_insert_trg;
|
||||
DROP TRIGGER series_update_trg;
|
||||
DROP TRIGGER IF EXISTS series_insert_trg;
|
||||
DROP TRIGGER IF EXISTS series_update_trg;
|
||||
|
||||
UPDATE series SET sort=title_sort(name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user