9 lines
277 B
Ruby
9 lines
277 B
Ruby
|
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
|
||
|
end
|
||
|
end
|