]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/056_add_date_closed.rb
Merge remote-tracking branch 'upstream/pull/2398'
[rails.git] / db / migrate / 056_add_date_closed.rb
index c5aa2c2f5feed40d96d6f351cf440c1b9a1195e2..57efa7c8a04c2d024d2c412e9e37ee895762b583 100644 (file)
@@ -1,11 +1,11 @@
-require 'lib/migrate'
+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
   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
   end
 end