]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/056_add_date_closed.rb
Merge remote-tracking branch 'upstream/pull/2049'
[rails.git] / db / migrate / 056_add_date_closed.rb
index 7f609cade402653801823e4ebf4d67351c653ac3..7b1a3233d9a389cd3c3117621b6eda6be9fe5cbd 100644 (file)
@@ -1,13 +1,11 @@
-require 'lib/migrate'
+require "migrate"
 
-class AddDateClosed < ActiveRecord::Migration
+class AddDateClosed < ActiveRecord::Migration[5.0]
   def self.up
-
-       add_column :map_bugs, :date_closed, :timestamp
+    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