X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18883b59c88940b9bd323756e60603302f185dfd..afa3a3728d4b7b4b8b560cbf3ad248388d474467:/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 c5aa2c2f5..b6da41466 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -1,11 +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 end def self.down - remove_column :map_bugs, :date_closed + remove_column :map_bugs, :date_closed end end