make starting from zero work on Android + Windows

This commit is contained in:
polv committed 2026-03-10 01:11:36 +07:00
1 parent 653eacf8d4
commit a00efbf505
10 files changed
+166 -44

No files matched your search

+2 -1
View File
@@ -51,10 +51,11 @@ impl<'a> SearchDatabase<'a> {
self.conn.execute_batch(&format!(
"
DELETE FROM {0}.terms;
DELETE FROM {0}.terms_ft;
DROP TABLE {0}.terms_ft;
",
DBSCHEMA[DbChild::Search]
))?;
self.create_schema()?;
Ok(())
}