Remove config/initializers/postgresql_opclasses_support.rb?
While working on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26710#note_155358379, I found that even though Rails 5 supports adding indexes with expressions (https://github.com/rails/rails/commit/edc2b7718725016e988089b5fb6d6fb9d6e16882), that functionality isn't there because we're using a backported/monkey patched version of the database support helpers.
@abrandl @yorickpeterse I see that config/initializers/postgresql_opclasses_support.rb
has been modified over time. Can we somehow get rid of these patches now that we are on Rails 5?
The latest change came from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23188/diffs.
Edited by Stan Hu