run migration
add name validation to user model
create migration add_index_to_users_email
enforce unique email
run the migration