X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0814b4096c443e2ab3c09baa058aa81a00d205d1..a948f2bc24be0679a42bbd1329d132d9ea20f866:/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 cca8293f5..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 - 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