summaryrefslogtreecommitdiff
path: root/db/migrate/20190206193120_add_index_to_tags.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190206193120_add_index_to_tags.rb')
-rw-r--r--db/migrate/20190206193120_add_index_to_tags.rb2
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