blob: 0cd835e49b8d68c2e489472c9f9b505537e90fe3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
class CacheOnlyClippedAttachmentText < ActiveRecord::Migration
def self.up
remove_column :incoming_messages, :cached_attachment_text
add_column :incoming_messages, :cached_attachment_text_clipped, :text
end
def self.down
raise "safer not to have reverse migration scripts, and we never use them"
end
end
|