Ensured execution order of db migration.