Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3346361
D5150.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
673 B
Referenced Files
None
Subscribers
None
D5150.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5150: [native/sqlite] add missing indexes to `sqlite_orm` structure
Attached
Detach File
Event Timeline
Log In to Comment