0
0

herokuへデプロイ後、We're sorry, but something went wrong.

Last updated at Posted at 2020-01-07

#We're sorry, but something went wrong.
herokuへデプロイ後にブラウザで表示されるました。

image.png

#原因
色々調べたところ
###・データベースの変更が更新されていない。
###・モデルにアクセスする処理を行っているのに、heroku上のデータベースをリセットを行っていない。

これは、デプロイ自体はできているみたい。
このパターンが多いみたいです。
僕もそうでした。

#解決法

$heroku run rake db:migrate

↑これで、heroku上のデータベースを更新

いけました。。一安心です

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0