Page MenuHomePhabricator

D5148.diff
No OneTemporary

D5148.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
@@ -600,11 +600,15 @@
make_column("time", &Message::time)),
make_table(
"olm_persist_account",
- make_column("id", &OlmPersistAccount::id),
+ make_column("id", &OlmPersistAccount::id, unique(), primary_key()),
make_column("account_data", &OlmPersistAccount::account_data)),
make_table(
"olm_persist_sessions",
- make_column("target_user_id", &OlmPersistSession::target_user_id),
+ make_column(
+ "target_user_id",
+ &OlmPersistSession::target_user_id,
+ unique(),
+ primary_key()),
make_column("session_data", &OlmPersistSession::session_data)),
make_table(
"media",

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 7:27 PM (19 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2400573
Default Alt Text
D5148.diff (1018 B)

Event Timeline