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

10 lines
322 B
Ruby
Raw Normal View History

2013-03-26 17:51:32 +00:00
class AddAddInfoToComments < ActiveRecord::Migration
def change
2014-01-21 04:51:49 +00:00
add_column :comments, :created_from_commit_hash, :decimal, precision: 50, scale: 0
2013-03-26 17:51:32 +00:00
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