]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150111192335_subscribe_old_changesets.rb
Merge remote-tracking branch 'upstream/pull/5389'
[rails.git] / db / migrate / 20150111192335_subscribe_old_changesets.rb
index 94b3bb565f3663d4186a7929ed71f86a919672fb..41d139ca48b56c3437c3c64f263c54717ebd7a04 100644 (file)
@@ -1,12 +1,5 @@
 class SubscribeOldChangesets < ActiveRecord::Migration[4.2]
 class SubscribeOldChangesets < ActiveRecord::Migration[4.2]
-  class Changeset < ActiveRecord::Base
-  end
-
-  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