]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20100513171259_add_user_date_index_to_changeset.rb
Add map filter css property
[rails.git] / db / migrate / 20100513171259_add_user_date_index_to_changeset.rb
1 class AddUserDateIndexToChangeset < ActiveRecord::Migration[4.2]
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, :name => "changesets_user_id_created_at_idx"
8   end
9 end