Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3394230
D11507.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11507.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
@@ -622,6 +622,15 @@
return true;
}
+bool create_aux_user_table(sqlite3 *db) {
+ std::string query =
+ "CREATE TABLE IF NOT EXISTS aux_users ("
+ " id TEXT UNIQUE PRIMARY KEY NOT NULL,"
+ " aux_user_info TEXT NOT NULL"
+ ");";
+ return create_table(db, query, "aux_users");
+}
+
bool create_schema(sqlite3 *db) {
char *error;
sqlite3_exec(
@@ -740,6 +749,11 @@
" data TEXT NOT NULL"
");"
+ "CREATE TABLE IF NOT EXISTS aux_users ("
+ " id TEXT UNIQUE PRIMARY KEY NOT NULL,"
+ " aux_user_info TEXT NOT NULL"
+ ");"
+
"CREATE INDEX IF NOT EXISTS media_idx_container"
" ON media (container);"
@@ -989,7 +1003,8 @@
{37, {create_integrity_table, true}},
{38, {migrate_notifs_crypto_account, true}},
{39, {create_synced_metadata_table, true}},
- {40, {create_keyservers_synced, true}}}};
+ {40, {create_keyservers_synced, true}},
+ {41, {create_aux_user_table, true}}}};
enum class MigrationResult { SUCCESS, FAILURE, NOT_APPLIED };
diff --git a/web/shared-worker/_generated/comm_query_executor.wasm b/web/shared-worker/_generated/comm_query_executor.wasm
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 1, 6:27 PM (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605791
Default Alt Text
D11507.diff (1 KB)
Attached To
Mode
D11507: [sqlite] add aux users table for aux user store data
Attached
Detach File
Event Timeline
Log In to Comment