12 lines
352 B
Ruby
12 lines
352 B
Ruby
class ConversationMessageContext < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :conversation_messages, :context_id, :integer, :limit => 8
|
|
add_column :conversation_messages, :context_type, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :conversation_messages, :context_id
|
|
remove_column :conversation_messages, :context_type
|
|
end
|
|
end
|