change accepted to integer in migration