Skip to content

Commit ebecaa6

Browse files
docs(adapter): match Fauna index name with implementation(#2360)
* Update Fauna Adapter - added one-liner to explain how to use the setup scripts inside of the Fauna dashboard - updated the `verification_request_by_token` index name to match what is expected inside of the SDK which is `verification_request_by_token_and_identifier` * Update Typo Co-authored-by: Balázs Orbán <[email protected]> Co-authored-by: Balázs Orbán <[email protected]>
1 parent 1c5173a commit ebecaa6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

www/docs/adapters/fauna.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export default NextAuth({
4949

5050
## Schema
5151

52+
Run the following commands inside of the `Shell` tab in the Fauna dashboard to setup the appropriate collections and indexes.
53+
5254
```javascript
5355
CreateCollection({ name: "accounts" })
5456
CreateCollection({ name: "sessions" })
@@ -76,7 +78,7 @@ CreateIndex({
7678
terms: [{ field: ["data", "email"] }],
7779
})
7880
CreateIndex({
79-
name: "verification_request_by_token",
81+
name: "verification_request_by_token_and_identifier",
8082
source: Collection("verification_requests"),
8183
unique: true,
8284
terms: [{ field: ["data", "token"] }, { field: ["data", "identifier"] }],

0 commit comments

Comments
 (0)