Abstracting out the migration generator.