foodsoft/db/migrate/20121216180646_remove_assigned_from_tasks.rb

10 lines
177 B
Ruby
Raw Permalink Normal View History

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