summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-11-07 18:28:11 +0900
committerShinya Maeda <shinya@gitlab.com>2018-11-07 18:28:11 +0900
commit97ac2d72353ced89051f49161a6e669f7fc16572 (patch)
tree8eef2dc0f1d5df3080cfc17a7f1e88936938458a
parent3eba665297516551968ac73bd0d397dac64b91cb (diff)
downloadgitlab-ce-97ac2d72353ced89051f49161a6e669f7fc16572.tar.gz
Bring back created indexes
-rw-r--r--db/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index df3067fae30..bbd52af36af 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -836,10 +836,12 @@ ActiveRecord::Schema.define(version: 20181107054254) do
add_index "deployments", ["environment_id", "sha"], name: "index_deployments_on_environment_id_and_sha", using: :btree
add_index "deployments", ["environment_id", "status", "id"], name: "index_deployments_on_environment_id_and_status_and_id", using: :btree
add_index "deployments", ["environment_id", "status", "iid"], name: "index_deployments_on_environment_id_and_status_and_iid", using: :btree
+ add_index "deployments", ["environment_id", "status"], name: "index_deployments_on_environment_id_and_status", using: :btree
add_index "deployments", ["id"], name: "partial_index_deployments_for_legacy_successful_deployments", where: "((finished_at IS NULL) AND (status = 2))", using: :btree
add_index "deployments", ["project_id", "iid"], name: "index_deployments_on_project_id_and_iid", unique: true, using: :btree
add_index "deployments", ["project_id", "status", "id"], name: "index_deployments_on_project_id_and_status_and_id", using: :btree
add_index "deployments", ["project_id", "status", "iid"], name: "index_deployments_on_project_id_and_status_and_iid", using: :btree
+ add_index "deployments", ["project_id", "status"], name: "index_deployments_on_project_id_and_status", using: :btree
create_table "emails", force: :cascade do |t|
t.integer "user_id", null: false