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

10 lines
339 B
Ruby
Raw Permalink 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
2014-08-20 21:49:26 +01:00
add_column :comments, :created_from_issue_id, :integer, references: nil
2013-03-26 17:51:32 +00:00
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