]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/049_improve_changeset_user_index.rb
Move contextmenu callbacks to separate file
[rails.git] / db / migrate / 049_improve_changeset_user_index.rb
index af5d1a2ac2aa90cffb08446f70cce182a7d20d9b..f02a63dcbfcd2ec42a5c9f7e8f2ae3e3d085b867 100644 (file)
@@ -6,6 +6,6 @@ class ImproveChangesetUserIndex < ActiveRecord::Migration
 
   def self.down
     add_index :changesets, [:user_id], :name => "changesets_user_id_idx"
 
   def self.down
     add_index :changesets, [:user_id], :name => "changesets_user_id_idx"
-    remove_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
+    remove_index :changesets, :name => "changesets_user_id_id_idx"
   end
 end
   end
 end