Function diesel_migrations::mark_migrations_in_directory[][src]

pub fn mark_migrations_in_directory<Conn>(
    conn: &Conn,
    migrations_dir: &Path
) -> Result<Vec<(Box<dyn Migration + 'static, Global>, bool), Global>, RunMigrationsError> where
    Conn: MigrationConnection
Expand description

Compares migrations found in migrations_dir to those that have been applied. Returns a list of pathbufs and whether they have been applied.