Philipp Hörist pushed to branch master at gajim / gajim


Commits:
6b8b5667 by Philipp Hörist at 2024-05-12T10:20:22+02:00
cfix: ArchiveStorage: Don’t fail on index creation

Fixes #11829

- - - - -


1 changed file:

- gajim/common/storage/archive/migration.py


Changes:

=====================================
gajim/common/storage/archive/migration.py
=====================================
@@ -222,7 +222,7 @@ def _v8(self) -> None:
 
     def _v9(self) -> None:
         statements = [
-            'CREATE INDEX idx_stanza_id ON message(stanza_id, fk_remote_pk, 
fk_account_pk);',
+            'CREATE INDEX IF NOT EXISTS idx_stanza_id ON message(stanza_id, 
fk_remote_pk, fk_account_pk);',
             'PRAGMA user_version=9',
         ]
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6b8b5667336f33411b5f0441098eed1849dcbde3

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6b8b5667336f33411b5f0441098eed1849dcbde3
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to