run_migrations

Function run_migrations 

Source
pub fn run_migrations(
    credentials: &Credentials,
    dialect: Dialect,
    migrations_dir: &Path,
    migrations_table: &str,
    migrations_schema: &str,
) -> Result<MigrationResult, CliError>
Expand description

Execute migrations against the database

This is the main entry point that dispatches to the appropriate driver based on the credentials type.