1 2 3 4 5 6 7 8 9 10
# -*- encoding : utf-8 -*- class AddAttachmentText < ActiveRecord::Migration def self.up add_column :incoming_messages, :cached_attachment_text, :text end def self.down remove_column :incoming_messages, :cached_attachment_text end end