Removes unused async code from db migration.