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?