diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-22 08:39:30 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-23 07:13:32 -0700 |
commit | c25ef8ee4a0f480603d7582648cc15f874d61172 (patch) | |
tree | 43b42ffb9134a2dd17a600a1b7e4f2ad4c9a8dee /db/migrate/20190206193120_add_index_to_tags.rb | |
parent | b5cc47bda6cefc1aa75e9e388f656609246ca326 (diff) | |
download | gitlab-ce-c25ef8ee4a0f480603d7582648cc15f874d61172.tar.gz |
Remove PostgreSQL opclasses monkey patchsh-remove-opclasses-patch
This is no longer needed with Rails 5.2. opclass is the attribute used
per https://github.com/rails/rails/pull/19090/files.
Now that we've removed the monkey patch and restored the Rails schema
dumper, it appears Rails has dropped the inclusion of `using: :btree` as
well (https://github.com/rails/rails/pull/27981).
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64529
Diffstat (limited to 'db/migrate/20190206193120_add_index_to_tags.rb')
-rw-r--r-- | db/migrate/20190206193120_add_index_to_tags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20190206193120_add_index_to_tags.rb b/db/migrate/20190206193120_add_index_to_tags.rb index 5257ebba003..d6c0270cb4f 100644 --- a/db/migrate/20190206193120_add_index_to_tags.rb +++ b/db/migrate/20190206193120_add_index_to_tags.rb @@ -9,7 +9,7 @@ class AddIndexToTags < ActiveRecord::Migration[5.0] disable_ddl_transaction! def up - add_concurrent_index :tags, :name, name: INDEX_NAME, using: :gin, opclasses: { name: :gin_trgm_ops } + add_concurrent_index :tags, :name, name: INDEX_NAME, using: :gin, opclass: { name: :gin_trgm_ops } end def down |