Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
fix(fauna): change the name of the index to `verification_request_by_…
Browse files Browse the repository at this point in the history
…token_and_identifier` (#157)

Co-authored-by: Balázs Orbán <info@balazsorban.com>
  • Loading branch information
pbteja1998 and balazsorban44 authored Jun 30, 2021
1 parent a8a94e9 commit 01a3c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fauna/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CreateIndex({
terms: [{ field: ["data", "email"] }],
})
CreateIndex({
name: "verification_request_by_token",
name: "verification_request_by_token_and_identifier",
source: Collection("verification_requests"),
unique: true,
terms: [{ field: ["data", "token"] }, { field: ["data", "identifier"] }],
Expand Down

0 comments on commit 01a3c52

Please sign in to comment.