foodsoft/db/migrate/20130624084223_remove_weekly_from_tasks.rb

10 lines
171 B
Ruby
Raw Normal View History

class RemoveWeeklyFromTasks < ActiveRecord::Migration[4.2]
2013-06-24 12:02:22 +02:00
def up
remove_column :tasks, :weekly
end
def down
add_column :tasks, :weekly, :boolean
end
end