X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c20b31b54ed3043e9ebf3964aa7c08f5ddc73a95..23479067254696a9a59f89deeff93e22e0f3e661:/db/migrate/056_add_date_closed.rb?ds=sidebyside 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