how to resolve failing tests after database migration

C++
# in project directory
RAILS_ENV=test bundle exec rake db:migrate
Source

Also in C++: