From 0b7e25c792270c6bd3b06c1114174ef77c8a0d90 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Sat, 27 Jun 2026 17:07:42 -0400 Subject: [PATCH] Add database::DbConn type --- src/server/database.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/database.rs b/src/server/database.rs index 96254e0..1dad20a 100644 --- a/src/server/database.rs +++ b/src/server/database.rs @@ -9,6 +9,7 @@ use crate::util::error::{Contextualize, Error, ErrorType}; pub const DB_MIGRATIONS: EmbeddedMigrations = embed_migrations!(); pub type DbPool = Pool; +pub type DbConn = AsyncPgConnection; /// Connect to the database using the given URI, and perform migrations pub async fn setup>(database_uri: S) -> Result {