X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..4c77f9d780daffee66608f2f8839730a224e9280:/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 0a722b3a1..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[5.0] - def up - Changeset.find_each do |changeset| - changeset.subscribers << changeset.user unless changeset.subscribers.exists?(changeset.user.id) - end - end +class SubscribeOldChangesets < ActiveRecord::Migration[4.2] + def up; end def down; end end