canvas-lms/db/migrate/20140522190519_add_reply_to...

12 lines
216 B
Ruby

class AddReplyToNameToMessages < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :messages, :reply_to_name, :string
end
def self.down
remove_column :messages, :reply_to_name
end
end