From 1d9bf2f0838b8dc8281d9fd8f1e0ed7670bab245 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 4 Jun 2014 18:42:54 +0000 Subject: [PATCH] db-schema: Add tasks new indexes --- db/schema.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 2e26b01..5422600 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140408172149) do +ActiveRecord::Schema.define(:version => 20140505131703) do create_table "abuse_reports", :force => true do |t| t.integer "reporter_id" @@ -587,7 +587,12 @@ ActiveRecord::Schema.define(:version => 20140408172149) do t.boolean "spam", :default => false end + add_index "tasks", ["requestor_id"], :name => "index_tasks_on_requestor_id" add_index "tasks", ["spam"], :name => "index_tasks_on_spam" + add_index "tasks", ["status"], :name => "index_tasks_on_status" + add_index "tasks", ["target_id", "target_type"], :name => "index_tasks_on_target_id_and_target_type" + add_index "tasks", ["target_id"], :name => "index_tasks_on_target_id" + add_index "tasks", ["target_type"], :name => "index_tasks_on_target_type" create_table "terms_forum_people", :id => false, :force => true do |t| t.integer "forum_id" -- libgit2 0.21.2