load_sql_migrations

Function load_sql_migrations 

Source
pub fn load_sql_migrations(
    location: impl AsRef<Path>,
) -> Result<Vec<Migration>, Error>
Expand description

Loads SQL migrations from a path. This enables dynamic migration discovery, as opposed to embedding. The resulting collection is ordered by version.