]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20100513171259_add_user_date_index_to_changeset.rb
Add deactivates_at date to user blocks
[rails.git] / db / migrate / 20100513171259_add_user_date_index_to_changeset.rb
index 22e1f08fbfe67eece5c8409100d5e2fb08c0e234..d15cad5ed09eaa1188b0735f32481d63b826cd31 100644 (file)
@@ -1,9 +1,9 @@
-class AddUserDateIndexToChangeset < ActiveRecord::Migration
+class AddUserDateIndexToChangeset < ActiveRecord::Migration[4.2]
   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