Merge remote-tracking branch 'upstream/pull/1964'
[rails.git] / db / migrate / 20150111192335_subscribe_old_changesets.rb
index cd09383..0a722b3 100644 (file)
@@ -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