X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7cd90f4b4d431b32a92ca68c3df817e8e765d09..4bca24a7beb4a78cecfeaa775d41662497f9930f:/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 7f609cade..b6da41466 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -1,13 +1,9 @@ -require 'lib/migrate' - -class AddDateClosed < ActiveRecord::Migration +class AddDateClosed < ActiveRecord::Migration[4.2] 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