]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/049_improve_changeset_user_index.rb
Upgrade osm-communities-index package
[rails.git] / db / migrate / 049_improve_changeset_user_index.rb
index f02a63dcbfcd2ec42a5c9f7e8f2ae3e3d085b867..b58860d600d8c9951e502c6f00ad3d10cd136055 100644 (file)
@@ -1,4 +1,4 @@
-class ImproveChangesetUserIndex < ActiveRecord::Migration
+class ImproveChangesetUserIndex < ActiveRecord::Migration[4.2]
   def self.up
     add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
     remove_index :changesets, :name => "changesets_user_id_idx"
   def self.up
     add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
     remove_index :changesets, :name => "changesets_user_id_idx"