summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-03 14:21:06 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-03 14:21:06 +0900
commit30464bceaac08bf7a8415df7d3b1e0ddf6182762 (patch)
tree39a5ac6dc729edc105d7654835ac66d9aa16599d /db/schema.rb
parent9ad20891435f1f51ae6e8e951b84131480d1ab97 (diff)
parentb2e1b70927f94a50a83e5afef359775894bd6b03 (diff)
downloadgitlab-ce-30464bceaac08bf7a8415df7d3b1e0ddf6182762.tar.gz
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index e2fe269079c..0b4b13c066c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -331,6 +331,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_position_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
@@ -495,6 +496,7 @@ ActiveRecord::Schema.define(version: 20180425131009) do
t.string "name"
t.integer "status"
t.integer "lock_version"
+ t.integer "position"
end
add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", unique: true, using: :btree