bigdir/db/migrate/023_add_tracker_is_in_roadm...

10 lines
230 B
Ruby

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