X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b9c9d6c1aafdd60c72b54345b4d2dc94317298a0..2f342ba8e8e7b22be148bf2a90561e0c10eb6a23:/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..7b1a3233d 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -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