summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-16 13:52:45 +0200
committerValery Sizov <vsv2711@gmail.com>2015-03-16 13:52:55 +0200
commit09ef69b7c8e534cedff2ca1a42b58f534e349107 (patch)
treedcccbd830331c7c7558f57cae349f18ebd0b5e7c /db/migrate
parent9698b36c1cd0808adb006593c0e8649cb42f3571 (diff)
downloadgitlab-ce-09ef69b7c8e534cedff2ca1a42b58f534e349107.tar.gz
code folding fix
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150313012111_create_subscribes_table.rb4
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