pub fn run<DB>(
    migrations_path: impl AsRef<Path>,
    migrations: impl IntoIterator<Item = Migration<DB>>,
) where
    DB: Database,
    DB::Connection: db::Migrations,
{
    run_parsed(Migrate::parse(), migrations_path, migrations);
}
/// Run a CLI application that provides operations with the
/// given migrations.
///
/// When compiled with `debug_assertions`, it additionally allows modifying migrations
/// at the given `migrations_path`.
///
/// Although not required, `migrations` are expected to be originated from `migrations_path`.
///
/// # Panics
///
/// This functon assumes that it has control over the entire application.
///
/// It will happily alter global state (tracing), panic, or terminate the process.
Run a CLI application that provides operations with the
given migrations.

When compiled with `debug_assertions`, it additionally allows modifying migrations
at the given `migrations_path`.

Although not required, `migrations` are expected to be originated from `migrations_path`.
Run a CLI application that provides operations with the given migrations . When compiled with ` debug_assertions ` it additionally allows modifying migrations at the given ` migrations_path ` . Although not required ` migrations ` are expected to be originated from ` migrations_path ` .
pub fn run<DB>(
    migrations_path: impl AsRef<Path>,
    migrations: impl IntoIterator<Item = Migration<DB>>,
) where
    DB: Database,
    DB::Connection: db::Migrations,
{
    run_parsed(Migrate::parse(), migrations_path, migrations);
}
pub fn run < DB > ( migrations_path : impl AsRef < Path > , migrations : impl IntoIterator < Item = Migration < DB > > , ) where DB : Database , DB :: Connection : db :: Migrations , { run_parsed ( Migrate :: parse ( ) , migrations_path , migrations ) ; }
Run a CLI application that provides operations with the
given migrations.
Run a CLI application that provides operations with the given migrations .
migrations_path
impl AsRef<Path>
migrations
impl IntoIterator<Item = Migration<DB>>
migrations_path
impl AsRef<Path>
migrations
impl IntoIterator<Item = Migration<DB>>
panics
This functon assumes that it has control over the entire application.

It will happily alter global state (tracing), panic, or terminate the process.
This functon assumes that it has control over the entire application . It will happily alter global state ( tracing ) panic or terminate the process .