X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..9adae1c52331330fd215a6451e546d16d4377a35:/db/migrate/20150111192335_subscribe_old_changesets.rb diff --git a/db/migrate/20150111192335_subscribe_old_changesets.rb b/db/migrate/20150111192335_subscribe_old_changesets.rb index ad23026d0..41d139ca4 100644 --- a/db/migrate/20150111192335_subscribe_old_changesets.rb +++ b/db/migrate/20150111192335_subscribe_old_changesets.rb @@ -1,9 +1,5 @@ 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