Add a user index to the changeset table.

This commit is contained in:
Tom Hughes 2009-04-20 13:31:57 +00:00
parent 476e3f2b55
commit c4f937f099

View file

@ -0,0 +1,9 @@
class AddChangesetUserIndex < ActiveRecord::Migration
def self.up
add_index "changesets", ["user_id"], :name => "changesets_user_id_idx"
end
def self.down
remove_index "changesets", :name => "changesets_user_id_idx"
end
end