Draft: Test upgrade rails 7.1.beta1
What does this MR do and why?
Hack: prefix visibility_pipeline_id_type enum
This is causing method conflict on :id
which as of 7.1.0 raises a
conflict.
https://github.com/rails/rails/pull/48536
/ruby/gems/3.1.0/gems/activerecord-7.1.0.beta1/lib/active_record/enum.rb:388:in `raise_conflict_error': You tried to define an enum named "visibility_pipeline_id_type" on the model "UserPreference", but this will generate a instance method "id", which is already defined by Active Record. (ArgumentError)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.