diff options
Diffstat (limited to 'db/migrate/20150313012111_create_subscribes_table.rb')
-rw-r--r-- | db/migrate/20150313012111_create_subscribes_table.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/migrate/20150313012111_create_subscribes_table.rb b/db/migrate/20150313012111_create_subscribes_table.rb index 706cf77118c..ab0e9a2a5b5 100644 --- a/db/migrate/20150313012111_create_subscribes_table.rb +++ b/db/migrate/20150313012111_create_subscribes_table.rb @@ -8,5 +8,9 @@ class CreateSubscribesTable < ActiveRecord::Migration t.timestamps end + + add_index :subscribes, :user_id + add_index :subscribes, :issue_id + add_index :subscribes, :merge_request_id end end |