X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8750405bf7cc44ef53ea2387c5315925175de169..10a4c5cf6e1165a9db6e9b87d0fa19d7f97b51bf:/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 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