canvas-lms/db/migrate/20130719192808_add_was_prev...

13 lines
239 B
Ruby

class AddWasPreviewToQuizSubmission < ActiveRecord::Migration
tag :predeploy
def self.up
add_column 'quiz_submissions', 'was_preview', :boolean
end
def self.down
remove_column 'quiz_submissions', 'was_preview'
end
end