Function migrations_internals::run_migrations[][src]

pub fn run_migrations<Conn, List>(
    conn: &Conn,
    migrations: List,
    output: &mut dyn Write
) -> Result<(), RunMigrationsError> where
    Conn: MigrationConnection,
    List: IntoIterator,
    List::Item: Migration
Expand description

Run all pending migrations in the given list. Apps should likely be calling run_pending_migrations or run_pending_migrations_in_directory instead.