rosa-build/db/migrate/20130326165628_add_add_info...

10 lines
322 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
add_index :comments, :created_from_commit_hash
end
end