]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150111192335_subscribe_old_changesets.rb
Use CanCanCan for search controller
[rails.git] / db / migrate / 20150111192335_subscribe_old_changesets.rb
index cca8293f55ef9e34f5fa7ebebf5cd7f9609d5060..0a722b3a189591cd69ae510ca969a851d7922a07 100644 (file)
@@ -1,4 +1,4 @@
-class SubscribeOldChangesets < ActiveRecord::Migration
+class SubscribeOldChangesets < ActiveRecord::Migration[5.0]
   def up
     Changeset.find_each do |changeset|
       changeset.subscribers << changeset.user unless changeset.subscribers.exists?(changeset.user.id)