Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-10 01:21:27 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-10 01:21:52 +0300
commitaaa7a065c6fff7c57b750fd50f73866afe7ba026 (patch)
tree52f57a02198f5ed32c2813c3be01142baf2321dd /db/migrate/20150209222013_add_missing_index.rb
parent86bb522713e8519e7b6c06f1fcb2cc752cc37212 (diff)
Add index on order columns for services table
Diffstat (limited to 'db/migrate/20150209222013_add_missing_index.rb')
-rw-r--r--db/migrate/20150209222013_add_missing_index.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150209222013_add_missing_index.rb b/db/migrate/20150209222013_add_missing_index.rb
new file mode 100644
index 00000000000..a816c2e9e8c
--- /dev/null
+++ b/db/migrate/20150209222013_add_missing_index.rb
@@ -0,0 +1,5 @@
+class AddMissingIndex < ActiveRecord::Migration
+ def change
+ add_index "services", [:created_at, :id]
+ end
+end