diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-25 15:48:39 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-25 15:48:39 +0200 |
commit | 50b36b63758b94ef23fc7d586deed0be13abbd52 (patch) | |
tree | a5bf954ca989a507236c63f288ecfce6be897b02 /db | |
parent | 37b9a441c1b74c679419ecd6c9560ab4390898b9 (diff) | |
download | gitlab-ce-50b36b63758b94ef23fc7d586deed0be13abbd52.tar.gz |
Add temporary partial stage priority index to schema
Diffstat (limited to 'db')
-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 f9e4a017afa..8c15da3875b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -322,6 +322,7 @@ ActiveRecord::Schema.define(version: 20180425131009) do add_index "ci_builds", ["project_id", "id"], name: "index_ci_builds_on_project_id_and_id", using: :btree add_index "ci_builds", ["protected"], name: "index_ci_builds_on_protected", using: :btree add_index "ci_builds", ["runner_id"], name: "index_ci_builds_on_runner_id", using: :btree + add_index "ci_builds", ["stage_id", "stage_idx"], name: "tmp_build_stage_priority_index", where: "(stage_idx IS NOT NULL)", using: :btree add_index "ci_builds", ["stage_id"], name: "index_ci_builds_on_stage_id", using: :btree add_index "ci_builds", ["status", "type", "runner_id"], name: "index_ci_builds_on_status_and_type_and_runner_id", using: :btree add_index "ci_builds", ["status"], name: "index_ci_builds_on_status", using: :btree |