Page MenuHomePhabricator

D5150.diff
No OneTemporary

D5150.diff

diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
--- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
+++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
@@ -584,6 +584,8 @@
auto &SQLiteQueryExecutor::getStorage() {
static auto storage = make_storage(
SQLiteQueryExecutor::sqliteFilePath,
+ make_index("messages_idx_thread_time", &Message::thread, &Message::time),
+ make_index("media_idx_container", &Media::container),
make_table(
"drafts",
make_column("key", &Draft::key, unique(), primary_key()),

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 8:30 AM (15 h, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569884
Default Alt Text
D5150.diff (673 B)

Event Timeline