add yomitan.db cleanup (which doesn't help)

This commit is contained in:
polv committed 2026-02-28 08:48:33 +07:00
1 parent bd281a3b2e
commit 641f23538b
4 files changed
+19 -3

No files matched your search

+5
View File
@@ -73,6 +73,11 @@ impl YomitanWriter {
Ok(Self { conn })
}
pub fn cleanup(&self) -> Result<()> {
self.conn.execute_batch("VACUUM")?;
Ok(())
}
pub fn create_schema(&mut self) -> Result<()> {
self.conn.execute_batch(
"