12 lines
347 B
Ruby
12 lines
347 B
Ruby
class AddMediaCommentToContextMessage < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :context_messages, :media_comment_id, :string
|
|
add_column :context_messages, :media_comment_type, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :context_messages, :media_comment_type
|
|
remove_column :context_messages, :media_comment_id
|
|
end
|
|
end
|