Skip to main content

rollback

Function rollback 

Source
pub async fn rollback<M: MigratorTrait>(
    conn: &DatabaseConnection,
    steps: u32,
) -> Result<()>
Expand description

Roll back the last steps migrations (Rails db:rollback STEP=steps).