use anyhow::Result; use sqlx::SqlitePool; pub async fn migrate(pool: &SqlitePool) -> Result<()> { sqlx::migrate!("../../migrations").run(pool).await?; Ok(()) }