foodsoft/db/migrate/20120622094337_add_next_wee...

10 lines
249 B
Ruby

class AddNextWeeklyTasksNumberToWorkgroups < ActiveRecord::Migration[4.2]
def self.up
add_column :groups, :next_weekly_tasks_number, :integer, :default => 8
end
def self.down
remove_column :groups, :next_weekly_tasks_number
end
end