lib/generators/searchjoy/templates/install.rb in searchjoy-0.1.0 vs lib/generators/searchjoy/templates/install.rb in searchjoy-0.2.0
- old
+ new
@@ -12,9 +12,9 @@
t.timestamp :converted_at
end
add_index :searchjoy_searches, [:created_at]
add_index :searchjoy_searches, [:search_type, :created_at]
- add_index :searchjoy_searches, [:search_type, :normalized_query, :created_at], name: "index_searchjoy_searches_on_search_type_and_normalized_query_an" # autogenerated name is too long
+ add_index :searchjoy_searches, [:search_type, :normalized_query, :created_at], name: "index_searchjoy_searches_on_search_type_normalized_query" # autogenerated name is too long
add_index :searchjoy_searches, [:convertable_id, :convertable_type]
end
end