hwy694 said over 3 years ago on Friend Requests From Scratch :
  Sure, let me know if this helps: 

rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedTable: ERROR:  relation "friends" does not exist
/Users/luke/Desktop/Actualize/soundjek-v-2/soundjek-backend/db/migrate/20200827013143_create_friendships.rb:3:in `change'
bin/rails:4:in `<main>'

Caused by:
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "friends" does not exist
/Users/luke/Desktop/Actualize/soundjek-v-2/soundjek-backend/db/migrate/20200827013143_create_friendships.rb:3:in `change'
bin/rails:4:in `<main>'

Caused by:
PG::UndefinedTable: ERROR:  relation "friends" does not exist
/Users/luke/Desktop/Actualize/soundjek-v-2/soundjek-backend/db/migrate/20200827013143_create_friendships.rb:3:in `change'
bin/rails:4:in `<main>'
Tasks: TOP => db:migrate