migrations: Add `Versions` to store
Created by: efritz
Pulled from #29831. This PR adds the Versions
method to the migration store. This gives more fidelity of information than the Version
method, which only returns the highest applied migration number.