canvas-lms/db/migrate/20141008142620_drop_ignore_...

12 lines
267 B
Ruby

class DropIgnoreTermDateRestrictions < ActiveRecord::Migration[4.2]
tag :postdeploy
def up
remove_column :enrollment_terms, :ignore_term_date_restrictions
end
def down
add_column :enrollment_terms, :ignore_term_date_restrictions, :boolean
end
end