]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/056_add_date_closed.rb
Merge remote-tracking branch 'upstream/pull/5334'
[rails.git] / db / migrate / 056_add_date_closed.rb
index bb4c19c1a0089c743ec355ce8bce5fa063eb4b66..b6da41466ae3df01ea0ef81dbe94238a846823d9 100644 (file)
@@ -1,11 +1,9 @@
-require 'migrate'
-
-class AddDateClosed < ActiveRecord::Migration
+class AddDateClosed < ActiveRecord::Migration[4.2]
   def self.up
     add_column :map_bugs, :date_closed, :timestamp
   end
 
   def self.down
-    remove_column :map_bugs, :date_closed 
+    remove_column :map_bugs, :date_closed
   end
 end