Function diesel::migrations::run_migrations [] [src]

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

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