I ran into this same issue adding a new enum. Turns out I had to explicitly run the plugin migrations for the test environment:
RAILS_ENV=test LOAD_PLUGINS=1 bin/rails db:migrate
2 Likes
I ran into this same issue adding a new enum. Turns out I had to explicitly run the plugin migrations for the test environment:
RAILS_ENV=test LOAD_PLUGINS=1 bin/rails db:migrate