X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/821a22c6073d4b50ae7038e9c1aacbb5e68cd55a..22dc13d6edb17cbdd4b73aabad340dcc8ef41999:/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 2bc021476..41d139ca4 100644 --- a/db/migrate/20150111192335_subscribe_old_changesets.rb +++ b/db/migrate/20150111192335_subscribe_old_changesets.rb @@ -1,10 +1,5 @@ -class SubscribeOldChangesets < ActiveRecord::Migration - def up - Changeset.find_each do |changeset| - changeset.subscribers << changeset.user unless changeset.subscribers.exists?(changeset.user) - end - end +class SubscribeOldChangesets < ActiveRecord::Migration[4.2] + def up; end - def down - end + def down; end end