socialforge/db/migrate/023_add_tracker_is_in_roadm...

10 lines
230 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddTrackerIsInRoadmap < ActiveRecord::Migration
def self.up
add_column :trackers, :is_in_roadmap, :boolean, :default => true, :null => false
end
def self.down
remove_column :trackers, :is_in_roadmap
end
end