discover

Return

Versioned migrations in ascending version order, then repeatable ones by description. Repeatables come last because they are the ones that lean on the schema the versioned ones just built.

Throws

CONFIGURATION where there is nowhere to look, INVALID_MIGRATION for a migration that cannot be used, DUPLICATE_MIGRATION where two claim the same identity.