foodsoft/db/migrate/20130624084223_remove_weekl...

10 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