Skip to content

Commit

Permalink
fix: ensure schema has index for auth token type
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Aug 9, 2024
1 parent 4888e54 commit 7d3e4d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d3e4d3

Please sign in to comment.