22e1f08fbfe67eece5c8409100d5e2fb08c0e234
[rails.git] / db / migrate / 20100513171259_add_user_date_index_to_changeset.rb
1 class AddUserDateIndexToChangeset < ActiveRecord::Migration
2   def self.up
3     add_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx"
4   end
5
6   def self.down
7     remove_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx"
8   end
9 end