LoginSignup
2
0

More than 5 years have passed since last update.

Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=development

Posted at

エラーの内容
aaa.png

やったこと
・bin/rails db:migrate RAILS_ENV=developmentを実行

エラーが出る。reservationモデルがないです。(自分は、このモデルを消したわけではない)

・rails db:migrate:reset RAILS_ENV=development

思い切ってリセットした。

rails db:migrate:reset RAILS_ENV=development
rails aborted!
ActiveRecord::NoEnvironmentInSchemaError:

Environment data not found in the schema. To resolve this issue, run:

    bin/rails db:environment:set RAILS_ENV=development

とエラーで出てダメだった。

自分の仮説

自分は、このherokuにあげている途中ででたので、 herokuと関連したエラーでないかと思って今解決法を探しています。

このURLのエラーも関係あるかなと思っています

2
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
2
0