core: improve indexes (#6095)

* core: improve indexes

* update plans

* queries

* postgres migration

* optimize query

* lint

* plans

* add indexes

* schema

* plans

* postgres schema

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
This commit is contained in:
spaced4ndyandEvgeny Poberezkin authored and GitHub committed 2025-07-24 23:36:08 +01:00
1 parent 7b7926a73e
commit d69511bcad
11 files changed
+153 -58

No files matched your search

+2
View File
@@ -111,6 +111,7 @@ library
Simplex.Chat.Store.Postgres.Migrations.M20250702_contact_requests_remove_cascade_delete
Simplex.Chat.Store.Postgres.Migrations.M20250704_groups_conn_link_prepared_connection
Simplex.Chat.Store.Postgres.Migrations.M20250709_profile_short_descr
Simplex.Chat.Store.Postgres.Migrations.M20250721_indexes
else
exposed-modules:
Simplex.Chat.Archive
@@ -247,6 +248,7 @@ library
Simplex.Chat.Store.SQLite.Migrations.M20250702_contact_requests_remove_cascade_delete
Simplex.Chat.Store.SQLite.Migrations.M20250704_groups_conn_link_prepared_connection
Simplex.Chat.Store.SQLite.Migrations.M20250709_profile_short_descr
Simplex.Chat.Store.SQLite.Migrations.M20250721_indexes
other-modules:
Paths_simplex_chat
hs-source-dirs: