20140314200103_add_indexes_for_products_search.rb 184 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class AddIndexesForProductsSearch < ActiveRecord::Migration def self.up add_index :products, :created_at end def self.down remove_index :products, :created_at end end