From 5ba54a5811613d2d52d4dcf8f16c31f81ee86d46 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sat, 7 Oct 2006 10:12:53 +0000 Subject: [PATCH] IF NOT EXISTS missing --- src/common/check_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/check_paths.py b/src/common/check_paths.py index bff55d368..66c09b7a7 100644 --- a/src/common/check_paths.py +++ b/src/common/check_paths.py @@ -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); ''' )