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

9 lines
177 B
Ruby

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