IF NOT EXISTS missing
This commit is contained in:
parent
a270813221
commit
5ba54a5811
|
@ -128,7 +128,7 @@ def migrate_logs_db_to_indeces():
|
|||
cur.executescript(
|
||||
'''
|
||||
CREATE INDEX IF NOT EXISTS idx_logs_jid_id_kind ON logs (jid_id, kind);
|
||||
CREATE INDEX idx_unread_messages_jid_id ON unread_messages (jid_id);
|
||||
CREATE INDEX IF NOT EXISTS idx_unread_messages_jid_id ON unread_messages (jid_id);
|
||||
'''
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue