canvas-lms/db/migrate/20140311223045_add_current_...

12 lines
256 B
Ruby

class AddCurrentToContextModuleProgressions < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :context_module_progressions, :current, :boolean
end
def self.down
remove_column :context_module_progressions, :current
end
end