Skip to content
Snippets Groups Projects
Commit 5ba54a58 authored by nkour's avatar nkour
Browse files

IF NOT EXISTS missing

parent a2708132
No related branches found
No related tags found
No related merge requests found
......@@ -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);
'''
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment