X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/816404ffe63a6b83340c130c53aa1772873043c6..99c54bc5b6c06f9457d45cdd42bd078b20ffb779:/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 cd0938318..0a722b3a1 100644 --- a/db/migrate/20150111192335_subscribe_old_changesets.rb +++ b/db/migrate/20150111192335_subscribe_old_changesets.rb @@ -1,10 +1,9 @@ -class SubscribeOldChangesets < ActiveRecord::Migration +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 - def down - end + def down; end end