canvas-lms/db/migrate/20130502200753_add_lock_at_...

12 lines
229 B
Ruby

class AddLockAtToDiscussionTopics < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :discussion_topics, :lock_at, :datetime
end
def self.down
remove_column :discussion_topics, :lock_at
end
end