From 6b602d48b941b12820050a99c74f0901f947fe57 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 8 Jan 2015 16:17:30 -0500 Subject: [PATCH] Support indexing on values in custom fields to help with tagging plugin. --- db/migrate/20150108211557_index_topic_custom_field_values.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20150108211557_index_topic_custom_field_values.rb diff --git a/db/migrate/20150108211557_index_topic_custom_field_values.rb b/db/migrate/20150108211557_index_topic_custom_field_values.rb new file mode 100644 index 000000000..da06ff034 --- /dev/null +++ b/db/migrate/20150108211557_index_topic_custom_field_values.rb @@ -0,0 +1,5 @@ +class IndexTopicCustomFieldValues < ActiveRecord::Migration + def change + add_index :topic_custom_fields, :value + end +end