canvas-lms/db/migrate/20130702104734_add_locked_f...

12 lines
232 B
Ruby

class AddLockedFlagToDiscussionTopics < ActiveRecord::Migration
tag :predeploy
def self.up
add_column 'discussion_topics', 'locked', :boolean
end
def self.down
remove_column 'discussion_topics', 'locked'
end
end