reverts db deletions to avoid conflicts with the open file

This commit is contained in:
Vitor Pamplona
2025-12-09 18:02:26 -05:00
parent b06f80e862
commit ee972cff35
@@ -86,7 +86,11 @@ class SQLiteEventStore(
) {}
fun clearDB() {
context.deleteDatabase(dbName)
val db = writableDatabase
fullTextSearchModule.deleteAll(db)
rightToVanishModule.deleteAll(db)
expirationModule.deleteAll(db)
eventIndexModule.deleteAll(db)
}
private fun innerInsertEvent(