Commit 1d9bf2f0838b8dc8281d9fd8f1e0ed7670bab245
1 parent
f132c4e1
Exists in
master
and in
29 other branches
db-schema: Add tasks new indexes
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
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 => 20140408172149) do | |
12 | +ActiveRecord::Schema.define(:version => 20140505131703) do | |
13 | 13 | |
14 | 14 | create_table "abuse_reports", :force => true do |t| |
15 | 15 | t.integer "reporter_id" |
... | ... | @@ -587,7 +587,12 @@ ActiveRecord::Schema.define(:version => 20140408172149) do |
587 | 587 | t.boolean "spam", :default => false |
588 | 588 | end |
589 | 589 | |
590 | + add_index "tasks", ["requestor_id"], :name => "index_tasks_on_requestor_id" | |
590 | 591 | add_index "tasks", ["spam"], :name => "index_tasks_on_spam" |
592 | + add_index "tasks", ["status"], :name => "index_tasks_on_status" | |
593 | + add_index "tasks", ["target_id", "target_type"], :name => "index_tasks_on_target_id_and_target_type" | |
594 | + add_index "tasks", ["target_id"], :name => "index_tasks_on_target_id" | |
595 | + add_index "tasks", ["target_type"], :name => "index_tasks_on_target_type" | |
591 | 596 | |
592 | 597 | create_table "terms_forum_people", :id => false, :force => true do |t| |
593 | 598 | t.integer "forum_id" | ... | ... |