diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2019-09-05 07:12:46 +0000 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2019-09-05 07:12:46 +0000 |
commit | 8e6ff65541f5591074934358d09781e6f082152c (patch) | |
tree | 7a31aab1036e947efea90b90747e45b959e29bde /db/schema.rb | |
parent | 86a3d82298ea9137c467129d1c828b92d7392ecd (diff) | |
parent | 7a890ae9ba053835d0bcb6473bdb3b1972dc882b (diff) | |
download | gitlab-ce-8e6ff65541f5591074934358d09781e6f082152c.tar.gz |
Merge branch 'ab/unconfirmed-email-index' into 'master'
Create index for users.unconfirmed_email
See merge request gitlab-org/gitlab-ce!32664
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 79f4551ee26..98c4403efe1 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_09_02_160015) do +ActiveRecord::Schema.define(version: 2019_09_04_173203) do # These are extensions that must be enabled in order to support this database enable_extension "pg_trgm" @@ -3563,6 +3563,7 @@ ActiveRecord::Schema.define(version: 2019_09_02_160015) do t.index ["state"], name: "index_users_on_state" t.index ["state"], name: "index_users_on_state_and_internal", where: "(ghost IS NOT TRUE)" t.index ["state"], name: "index_users_on_state_and_internal_ee", where: "((ghost IS NOT TRUE) AND (bot_type IS NULL))" + t.index ["unconfirmed_email"], name: "index_users_on_unconfirmed_email", where: "(unconfirmed_email IS NOT NULL)" t.index ["username"], name: "index_users_on_username" t.index ["username"], name: "index_users_on_username_trigram", opclass: :gin_trgm_ops, using: :gin end |