[PATCH 2/2] migrate: More sophisticated versioning