canvas-lms/db/migrate/20120320171426_add_discussi...

12 lines
232 B
Ruby

class AddDiscussionTopicsThreadedFlag < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :discussion_topics, :threaded, :boolean
end
def self.down
remove_column :discussion_topics, :threaded
end
end