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

9 lines
171 B
Ruby

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