Permalink
Browse files

ARGH, need a request_id index on ServiceResponse for our new join-obj…

…-less schema. Makes a big difference.
  • Loading branch information...
1 parent 71d3747 commit bf92d8b3a941ae942614eed8a8bd70a4f12749d2 @jrochkind jrochkind committed May 30, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 db/migrate/02_umlaut_add_service_response_index.rb
@@ -0,0 +1,9 @@
+class UmlautAddServiceResponseIndex < ActiveRecord::Migration
+ def up
+ add_index "service_responses", ["request_id"]
+ end
+
+ def down
+ remove_index "service_responses", ["request_id"]
+ end
+end

0 comments on commit bf92d8b

Please sign in to comment.