X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..7821bf48ad301c4d4253ed0ae7f6d53e2176b6bc:/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..7b1a3233d 100644 --- a/db/migrate/056_add_date_closed.rb +++ b/db/migrate/056_add_date_closed.rb @@ -1,11 +1,11 @@ -require 'migrate' +require "migrate" -class AddDateClosed < ActiveRecord::Migration +class AddDateClosed < ActiveRecord::Migration[5.0] 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