summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2019-07-29 19:06:50 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-07-29 19:06:50 +0000
commit576b397de9f9962f7de7304600e13107f24edcef (patch)
tree9f689c48f162967283bcf113fe208c59ab070050 /db/schema.rb
parent0a0b442f149334c970cb45387467c2ec6ea484a7 (diff)
downloadgitlab-ce-576b397de9f9962f7de7304600e13107f24edcef.tar.gz
Create index on environments by state
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 3188ff5b229..f6b7e22fe09 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2019_07_25_012225) do
+ActiveRecord::Schema.define(version: 2019_07_29_090456) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_trgm"
@@ -1174,6 +1174,7 @@ ActiveRecord::Schema.define(version: 2019_07_25_012225) do
t.index ["name"], name: "index_environments_on_name_varchar_pattern_ops", opclass: :varchar_pattern_ops
t.index ["project_id", "name"], name: "index_environments_on_project_id_and_name", unique: true
t.index ["project_id", "slug"], name: "index_environments_on_project_id_and_slug", unique: true
+ t.index ["project_id", "state"], name: "index_environments_on_project_id_and_state"
end
create_table "epic_issues", id: :serial, force: :cascade do |t|