Check migration file for errors.