]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20100513171259_add_user_date_index_to_changeset.rb
Bump eslint from 8.39.0 to 8.40.0
[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