From 7d3e4d369e66815b422faf46f8924397600266f1 Mon Sep 17 00:00:00 2001 From: Andrew Cain Date: Fri, 9 Aug 2024 14:18:57 +1000 Subject: [PATCH] fix: ensure schema has index for auth token type --- db/schema.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/schema.rb b/db/schema.rb index af59778e8..110e17b92 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -25,6 +25,7 @@ t.bigint "user_id" t.string "authentication_token", null: false t.integer "token_type", default: 0, null: false + t.index ["token_type"], name: "index_auth_tokens_on_token_type" t.index ["user_id"], name: "index_auth_tokens_on_user_id" end