X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..a64b7237ec06264d26385e1384c3130bcbccd446:/db/migrate/056_add_date_closed.rb diff --git a/db/migrate/056_add_date_closed.rb b/db/migrate/056_add_date_closed.rb index bb4c19c1a..b6da41466 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -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