X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6aca6cfabf21da48567e8197457dae8785b7324d..e78859aeaf40fd7c3d9f1ef1c0c8d1fd14bf41b0:/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..57efa7c8a 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -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 - remove_column :map_bugs, :date_closed + remove_column :map_bugs, :date_closed end end