diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-04-25 18:24:23 +1100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-04-26 13:05:20 +0200 |
commit | e780473d4e075b75bb25cd7606ee866827d2c481 (patch) | |
tree | 485f4cd552277257a265ddb2880db36ee8a11126 /db/schema.rb | |
parent | 0eca206c117c0f3cc50dfa6ce06d5dd96e446803 (diff) | |
download | gitlab-ce-e780473d4e075b75bb25cd7606ee866827d2c481.tar.gz |
Add index on ci_builds.user_id
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index bd6fef22d06..ff00951d5f6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -242,6 +242,7 @@ ActiveRecord::Schema.define(version: 20170424142900) do add_index "ci_builds", ["status"], name: "index_ci_builds_on_status", using: :btree add_index "ci_builds", ["token"], name: "index_ci_builds_on_token", unique: true, using: :btree add_index "ci_builds", ["updated_at"], name: "index_ci_builds_on_updated_at", using: :btree + add_index "ci_builds", ["user_id"], name: "index_ci_builds_on_user_id", using: :btree create_table "ci_pipelines", force: :cascade do |t| t.string "ref" |