Function migrations_internals::mark_migrations_in_directory[][src]

pub fn mark_migrations_in_directory<Conn>(
    conn: &Conn,
    migrations_dir: &Path
) -> Result<Vec<(Box<dyn Migration>, bool)>, 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.