mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
add yomitan.db cleanup (which doesn't help)
This commit is contained in:
1 parent
bd281a3b2e
commit
641f23538b
4 files changed
+19
-3
No files matched your search
@@ -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(
|
||||
"
|
||||
|
||||
Reference in new issue
Block a user