summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-07-02 19:41:35 +0200
committerGitHub <noreply@github.com>2023-07-02 19:41:35 +0200
commite6a8faae81e8dff3d1ef74d159d280c5ea762739 (patch)
tree329a04169ae6919b18df6b2485de8c40dcb0d4bd /db
parent933ba1a3ebb3cd0ef9ac385ae277f6643480d7b2 (diff)
Add users index on unconfirmed_email (#25672)
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index de88cb9d235..64f1f93aaaf 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: 2023_07_02_131023) do
+ActiveRecord::Schema.define(version: 2023_07_02_151753) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -1097,6 +1097,7 @@ ActiveRecord::Schema.define(version: 2023_07_02_131023) do
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, opclass: :text_pattern_ops, where: "(reset_password_token IS NOT NULL)"
t.index ["role_id"], name: "index_users_on_role_id", where: "(role_id IS NOT NULL)"
+ t.index ["unconfirmed_email"], name: "index_users_on_unconfirmed_email", where: "(unconfirmed_email IS NOT NULL)"
end
create_table "web_push_subscriptions", force: :cascade do |t|