mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
make starting from zero work on Android + Windows
This commit is contained in:
1 parent
653eacf8d4
commit
a00efbf505
10 files changed
+166
-44
No files matched your search
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user