forked from Eeveid/lightOps
8 lines
169 B
Rust
8 lines
169 B
Rust
use anyhow::Result;
|
|
use sqlx::SqlitePool;
|
|
|
|
pub async fn migrate(pool: &SqlitePool) -> Result<()> {
|
|
sqlx::migrate!("../../migrations").run(pool).await?;
|
|
Ok(())
|
|
}
|