abstracting a bit to a migration manager