Extracting MigrationService method

I want a named method to explain what is happening in a large chunk
of code.