if you tie the migration ids to code ids (e.g. commit hashes) than you have a (relatively) easy way of matching them. Another way could be scanning version control history (e.g.
git log
) to find the range of identifiers.