]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150111192335_subscribe_old_changesets.rb
Localisation updates from https://translatewiki.net.
[rails.git] / db / migrate / 20150111192335_subscribe_old_changesets.rb
index cd0938318d7b83a4eca608abe36f2728520b4d50..0a722b3a189591cd69ae510ca969a851d7922a07 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