Commit 5c97f0868c0785f9d401e8906874932adc882ff7
1 parent
fa1fa8c1
Exists in
master
and in
28 other branches
schema: adding index for products search
(ActionItem3039)
Showing
2 changed files
with
11 additions
and
1 deletions
Show diff stats
db/migrate/20140314200103_add_indexes_for_products_search.rb
0 → 100644
db/schema.rb
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | # |
| 10 | 10 | # It's strongly recommended to check this file into your version control system. |
| 11 | 11 | |
| 12 | -ActiveRecord::Schema.define(:version => 20140313213142) do | |
| 12 | +ActiveRecord::Schema.define(:version => 20140314200103) do | |
| 13 | 13 | |
| 14 | 14 | create_table "abuse_reports", :force => true do |t| |
| 15 | 15 | t.integer "reporter_id" |
| ... | ... | @@ -432,6 +432,7 @@ ActiveRecord::Schema.define(:version => 20140313213142) do |
| 432 | 432 | t.integer "image_id" |
| 433 | 433 | end |
| 434 | 434 | |
| 435 | + add_index "products", ["created_at"], :name => "index_products_on_created_at" | |
| 435 | 436 | add_index "products", ["enterprise_id"], :name => "index_products_on_enterprise_id" |
| 436 | 437 | add_index "products", ["product_category_id"], :name => "index_products_on_product_category_id" |
| 437 | 438 | ... | ... |