X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d130db9fa84da832a6a0cb0333982725fdc480c7..87bf5648c8df1640cd6de8a75aa93686751abe18:/db/migrate/20150111192335_subscribe_old_changesets.rb?ds=sidebyside diff --git a/db/migrate/20150111192335_subscribe_old_changesets.rb b/db/migrate/20150111192335_subscribe_old_changesets.rb index 94b3bb565..41d139ca4 100644 --- a/db/migrate/20150111192335_subscribe_old_changesets.rb +++ b/db/migrate/20150111192335_subscribe_old_changesets.rb @@ -1,12 +1,5 @@ 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