]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/049_improve_changeset_user_index.rb
Use CanCanCan for search controller
[rails.git] / db / migrate / 049_improve_changeset_user_index.rb
index f02a63dcbfcd2ec42a5c9f7e8f2ae3e3d085b867..82491132708019f52bfc88e508c73ac092004f36 100644 (file)
@@ -1,4 +1,4 @@
-class ImproveChangesetUserIndex < ActiveRecord::Migration
+class ImproveChangesetUserIndex < ActiveRecord::Migration[5.0]
   def self.up
     add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
     remove_index :changesets, :name => "changesets_user_id_idx"