From ea374b531ae0f7baa9532dd92d1329c4e8ec9490 Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Wed, 20 Nov 2024 13:00:14 +0300 Subject: [PATCH] docs: update database schema --- docs/content/docs/concepts/database.mdx | 35 ++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/concepts/database.mdx b/docs/content/docs/concepts/database.mdx index 94b69dbcd7..88936fc27f 100644 --- a/docs/content/docs/concepts/database.mdx +++ b/docs/content/docs/concepts/database.mdx @@ -345,6 +345,16 @@ Table Name: `session` description: "The user agent information of the device", isOptional: true }, + { + name: "createdAt", + type: "Date", + description: "Timestamp of when the verification request was created" + }, + { + name: "updatedAt", + type: "Date", + description: "Timestamp of when the verification request was updated" + } ]} /> @@ -389,10 +399,14 @@ Table Name: `account` isOptional: true, }, { - name: "expiresAt", + name: "accessTokenExpiresAt", type: "Date", - description: "The time when the access token expires", - isOptional: true, + description: "The time when the verification request expires" + }, + { + name: "refreshTokenExpiresAt", + type: "Date", + description: "The time when the verification request expires" }, { name: "password", @@ -400,6 +414,16 @@ Table Name: `account` description: "The password of the account. Mainly used for email and password authentication", isOptional: true, }, + { + name: "createdAt", + type: "Date", + description: "Timestamp of when the verification request was created" + }, + { + name: "updatedAt", + type: "Date", + description: "Timestamp of when the verification request was updated" + } ]} /> @@ -435,6 +459,11 @@ Table Name: `verification` name: "createdAt", type: "Date", description: "Timestamp of when the verification request was created" + }, + { + name: "updatedAt", + type: "Date", + description: "Timestamp of when the verification request was updated" } ]} />