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 {