Pending migration error

Hi, I’m getting an error on CircleCI only (i.e. it’s not happening locally or on our Heroku servers).

I get a ActiveRecord::PendingMigrationError:

Migrations are pending. To resolve this issue, run:

bin/rake db:migrate RAILS_ENV=test

What’s going on? I don’t manually run rake db:migrate RAILS_ENV=test on CircleCI, and besides - locally, it’s running just fine. Furthermore, CircleCI does a rake db:schema:load, so why is there an issue with pending migrations?

That’s been mentioned before here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.