foodsoft/db/migrate/20121216180646_remove_assig...

10 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