added oauth Route
This commit is contained in:
@@ -34,3 +34,14 @@ model VerificationRequest {
|
||||
|
||||
@@map(name: "verification_requests")
|
||||
}
|
||||
|
||||
model OAuthToken {
|
||||
id Int @id @default(autoincrement())
|
||||
userId String @map(name: "user_id")
|
||||
clientId String @map(name: "client_id")
|
||||
accessToken String @unique @map(name: "access_token")
|
||||
createdAt DateTime @default(now()) @map(name: "created_at")
|
||||
updatedAt DateTime @default(now()) @map(name: "updated_at")
|
||||
|
||||
@@map(name: "oauth_tokens")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user