aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorJoris Guyonvarch2025-07-18 23:53:49 +0200
committerJoris Guyonvarch2025-07-18 23:53:49 +0200
commit9a360f17c62bcc524af503efe95e197ce63f6229 (patch)
tree137211ba28aaad81e097913aea44967bc6f13dea /src/db
parentbf26a9a7d145590e498e6057db27cee2ad162445 (diff)
Specify mail from in environmentmain
Diffstat (limited to 'src/db')
-rw-r--r--src/db/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db/mod.rs b/src/db/mod.rs
index d0c4f7b..b1fdeea 100644
--- a/src/db/mod.rs
+++ b/src/db/mod.rs
@@ -38,7 +38,11 @@ async fn apply_migrations(conn: &Connection) -> Result<()> {
.await?)
}
-async fn set_pragma(conn: &Connection, key: impl Into<String>, value: impl Into<String>) -> Result<()> {
+async fn set_pragma(
+ conn: &Connection,
+ key: impl Into<String>,
+ value: impl Into<String>,
+) -> Result<()> {
let key = key.into();
let value = value.into();
Ok(conn