]> git.openstreetmap.org Git - rails.git/blob - db/migrate/056_add_date_closed.rb
When overriding setup make sure to call the superclass
[rails.git] / db / migrate / 056_add_date_closed.rb
1 require "migrate"
2
3 class AddDateClosed < ActiveRecord::Migration[4.2]
4   def self.up
5     add_column :map_bugs, :date_closed, :timestamp
6   end
7
8   def self.down
9     remove_column :map_bugs, :date_closed
10   end
11 end