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 @@ -596,6 +596,15 @@ return create_table(db, query, "synced_metadata"); } +bool create_keyservers_synced(sqlite3 *db) { + std::string query = + "CREATE TABLE IF NOT EXISTS keyservers_synced (" + " id TEXT UNIQUE PRIMARY KEY NOT NULL," + " keyserver_info TEXT NOT NULL" + ");"; + return create_table(db, query, "keyservers_synced"); +} + bool create_schema(sqlite3 *db) { char *error; sqlite3_exec( @@ -684,6 +693,11 @@ " keyserver_info TEXT NOT NULL" ");" + "CREATE TABLE IF NOT EXISTS keyservers_synced (" + " id TEXT UNIQUE PRIMARY KEY NOT NULL," + " keyserver_info TEXT NOT NULL" + ");" + "CREATE TABLE IF NOT EXISTS communities (" " id TEXT UNIQUE PRIMARY KEY NOT NULL," " community_info TEXT NOT NULL" @@ -957,7 +971,8 @@ {36, {create_messages_to_device_table, true}}, {37, {create_integrity_table, true}}, {38, {migrate_notifs_crypto_account, true}}, - {39, {create_synced_metadata_table, true}}}}; + {39, {create_synced_metadata_table, true}}, + {40, {create_keyservers_synced, 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$@