canvas-lms/db/migrate/20110102070652_add_extra_ti...

14 lines
351 B
Ruby

class AddExtraTimeToQuizSubmissions < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :quiz_submissions, :extra_time, :integer
add_column :quiz_submissions, :manually_unlocked, :boolean
end
def self.down
remove_column :quiz_submissions, :extra_time
remove_column :quiz_submissions, :manually_unlocked
end
end