[#19] add index
This commit is contained in:
parent
48f5ba42b0
commit
7736f69715
|
@ -4,5 +4,6 @@ class AddAddInfoToComments < ActiveRecord::Migration
|
|||
add_column :comments, :created_from_issue_id, :integer
|
||||
|
||||
add_index :comments, :created_from_issue_id
|
||||
add_index :comments, :created_from_commit_hash
|
||||
end
|
||||
end
|
||||
|
|
|
@ -164,6 +164,7 @@ ActiveRecord::Schema.define(:version => 20130326165628) do
|
|||
add_index "comments", ["automatic"], :name => "index_comments_on_automatic"
|
||||
add_index "comments", ["commentable_id"], :name => "index_comments_on_commentable_id"
|
||||
add_index "comments", ["commentable_type"], :name => "index_comments_on_commentable_type"
|
||||
add_index "comments", ["created_from_commit_hash"], :name => "index_comments_on_created_from_commit_hash"
|
||||
add_index "comments", ["created_from_issue_id"], :name => "index_comments_on_created_from_issue_id"
|
||||
|
||||
create_table "event_logs", :force => true do |t|
|
||||
|
|
Loading…
Reference in New Issue