Skip to main content

apply_migrations

Function apply_migrations 

Source
pub async fn apply_migrations<M: MigratorTrait>(url: &str)
Expand description

Run each migration’s up (for tests). Prefer unique [MigrationName]s so MigratorTrait::up / migrate CLI also work on composed migrators.