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