Skip to main content

run_internal_migrations

Function run_internal_migrations 

Source
pub async fn run_internal_migrations(pool: &SqlitePool) -> Result<()>
Expand description

Run atrg’s internal migrations (sessions table, etc.).

These migrations are embedded in the atrg-db crate at compile time from the migrations/ directory next to this crate’s Cargo.toml. They are idempotent and safe to run on every startup.