canvas-lms/db/migrate/20140522231727_add_total_ac...

12 lines
243 B
Ruby

class AddTotalActivityTimeToEnrollment < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :enrollments, :total_activity_time, :integer
end
def self.down
remove_column :enrollments, :total_activity_time
end
end