get correct version of migration