This commit is contained in:
müde 2026-05-14 22:58:25 +02:00
parent fef2dee92a
commit 1c6d7f7a8f
4 changed files with 15 additions and 8 deletions

View file

@ -36,7 +36,8 @@ impl Approvals {
}
let conn = Connection::open(path)
.with_context(|| format!("open approvals db {}", path.display()))?;
conn.execute_batch(SCHEMA).context("apply approvals schema")?;
conn.execute_batch(SCHEMA)
.context("apply approvals schema")?;
Ok(Self {
conn: Mutex::new(conn),
})