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:
authorAndreas Brandl <abrandl@gitlab.com>2018-03-20 23:39:17 +0300
committerAndreas Brandl <abrandl@gitlab.com>2018-03-21 15:41:24 +0300
commit5f8abe4783a252c5979d87572ceaeb37b11d59dc (patch)
tree3dbb3b9468a9b7538a72c18d0147abdb45a006e4 /db/schema.rb
parentc0bfe9db5f90ee7f07c371af8e23744b60e04815 (diff)
Flip column order in new index.
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 6024fc24b0b..e441ca2a1f0 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -727,8 +727,8 @@ ActiveRecord::Schema.define(version: 20180320182229) do
end
add_index "events", ["action"], name: "index_events_on_action", using: :btree
+ add_index "events", ["author_id", "project_id"], name: "index_events_on_author_id_and_project_id", using: :btree
add_index "events", ["author_id"], name: "index_events_on_author_id", using: :btree
- add_index "events", ["project_id", "author_id"], name: "index_events_on_project_id_and_author_id", using: :btree
add_index "events", ["project_id", "id"], name: "index_events_on_project_id_and_id", using: :btree
add_index "events", ["target_type", "target_id"], name: "index_events_on_target_type_and_target_id", using: :btree