IF NOT EXISTS missing

This commit is contained in:
Nikos Kouremenos 2006-10-07 10:12:53 +00:00
parent a270813221
commit 5ba54a5811
1 changed files with 1 additions and 1 deletions

View File

@ -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);
'''
)