Skip to main content

MIGRATOR

Static MIGRATOR 

Source
pub static MIGRATOR: Migrator
Expand description

Raw bundled migrations required by PostgresLimiter.

This value retains SQLx’s strict missing-version behavior and is suitable only for an exclusively managed migration history and connection. For a pooled application that shares _sqlx_migrations, prefer PostgresLimiter::migrate and configure every other participating Migrator to set Migrator::set_ignore_missing to true.