]> git.openstreetmap.org Git - rails.git/blob - db/migrate/026_add_changeset_user_index.rb
Tidy up notes#search
[rails.git] / db / migrate / 026_add_changeset_user_index.rb
1 class AddChangesetUserIndex < ActiveRecord::Migration[5.0]
2   def self.up
3     add_index "changesets", ["user_id"], :name => "changesets_user_id_idx"
4   end
5
6   def self.down
7     remove_index "changesets", :name => "changesets_user_id_idx"
8   end
9 end