]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150111192335_subscribe_old_changesets.rb
Bump nokogiri from 1.12.4 to 1.12.5
[rails.git] / db / migrate / 20150111192335_subscribe_old_changesets.rb
index ad23026d012449609b2e2bbd09b67151a2a3ad0c..41d139ca48b56c3437c3c64f263c54717ebd7a04 100644 (file)
@@ -1,9 +1,5 @@
 class SubscribeOldChangesets < ActiveRecord::Migration[4.2]
 class SubscribeOldChangesets < ActiveRecord::Migration[4.2]
-  def up
-    Changeset.find_each do |changeset|
-      changeset.subscribers << changeset.user unless changeset.subscribers.exists?(changeset.user.id)
-    end
-  end
+  def up; end
 
   def down; end
 end
 
   def down; end
 end