2013-03-26 17:51:32 +00:00
|
|
|
class AddAddInfoToComments < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
add_column :comments, :created_from_commit_hash, :decimal, :precision => 50, :scale => 0
|
|
|
|
add_column :comments, :created_from_issue_id, :integer
|
|
|
|
|
|
|
|
add_index :comments, :created_from_issue_id
|
2013-03-27 17:02:46 +00:00
|
|
|
add_index :comments, :created_from_commit_hash
|
2013-03-26 17:51:32 +00:00
|
|
|
end
|
|
|
|
end
|