Move migrations to mapping