diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 13:52:45 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 13:52:55 +0200 |
commit | 09ef69b7c8e534cedff2ca1a42b58f534e349107 (patch) | |
tree | dcccbd830331c7c7558f57cae349f18ebd0b5e7c /db/migrate | |
parent | 9698b36c1cd0808adb006593c0e8649cb42f3571 (diff) | |
download | gitlab-ce-09ef69b7c8e534cedff2ca1a42b58f534e349107.tar.gz |
code folding fix
Diffstat (limited to 'db/migrate')
-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 |