]> git.openstreetmap.org Git - rails.git/blob - db/migrate/056_add_date_closed.rb
use a controller method to handle cancan denials
[rails.git] / db / migrate / 056_add_date_closed.rb
1 require "migrate"
2
3 class AddDateClosed < ActiveRecord::Migration[5.0]
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