foodsoft/db/migrate/20090811144901_add_weekly_to_tasks.rb
2020-09-05 14:40:11 +02:00

9 lines
176 B
Ruby

class AddWeeklyToTasks < ActiveRecord::Migration[4.2]
def self.up
add_column :tasks, :weekly, :boolean
end
def self.down
remove_column :tasks, :weekly
end
end