UHERO / udaman

UHERO Data Manager
1 stars 0 forks source link

Remove negative enums #797

Open calebthewood opened 8 months ago

calebthewood commented 8 months ago

Rails 6 adds default negative enums. This conflicts with some of our existing enum names, "seasonally_adjusted" "not_seasonally_adjusted", for example. It's not clear that this is impacting the behavior of the app, but it throwing errors as Rails attempts to create enums with the names taken by our own enums.

Update UDAMAN enums to use default negative enum names.

Context https://www.bigbinary.com/blog/rails-6-adds-negative-scopes-on-enum