Merge branch 'wheres_this' of https://github.com/pnorman/openstreetmap-website into...
[rails.git] / db / migrate / 20100513171259_add_user_date_index_to_changeset.rb
index 22e1f08..7c9c137 100644 (file)
@@ -1,9 +1,9 @@
-class AddUserDateIndexToChangeset < ActiveRecord::Migration
+class AddUserDateIndexToChangeset < ActiveRecord::Migration[5.0]
   def self.up
     add_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx"
   end
 
   def self.down
-    remove_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx"
+    remove_index :changesets, :name => "changesets_user_id_created_at_idx"
   end
 end