canvas-lms/db/migrate/20130416190214_add_validati...

12 lines
249 B
Ruby

class AddValidationTokenToQuizSubmissions < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :quiz_submissions, :validation_token, :string
end
def self.down
remove_column :quiz_submissions, :validation_token
end
end