Function schema_connector::migrations_directory::list_migrations
source · pub fn list_migrations(
migrations_directory_path: &Path
) -> Result<Vec<MigrationDirectory>, ListMigrationsError>
Expand description
List the migrations present in the migration directory, lexicographically sorted by name.
If the migrations directory does not exist, it will not error but return an empty Vec.