pub fn plan_migrations(
credentials: &Credentials,
dialect: Dialect,
migrations_dir: &Path,
migrations_table: &str,
migrations_schema: &str,
) -> Result<MigrationPlan, 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.
ยงErrors
Returns CliError if no compiled driver matches the credentials, if
connecting to the database fails, or if reading the migration tracking
table or on-disk migration files fails.