前提・実現したいこと
Rails初心者です。今deviseを用いてtwitterログイン機能を実装しており、ローカル環境では動いています。しかし、herokuにデプロイしたところ、We're sorry, but something went wrong. If you are the application owner check the logs for more information.と出てしまい、heroku run rake db:migrateと打ったところ、以下のようなエラーメッセージが出ました。
発生している問題・エラーメッセージ
rake aborted! StandardError: An error has occurred, this and all later migrations canceled: PG::UndefinedTable: ERROR: table "users" does not exist : DROP TABLE "users"
と出ました。
色々なサイトを見て環境変数やデータベースのリセットをしたりしたのですが解決しません。もしよろしければご教授願いたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。