feat: opt web ux
This commit is contained in:
@@ -8,15 +8,18 @@ datasource db {
|
||||
}
|
||||
|
||||
model User {
|
||||
id String @id @default(uuid())
|
||||
email String @unique
|
||||
passwordHash String?
|
||||
name String
|
||||
avatarUrl String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
oauthAccounts OAuthAccount[]
|
||||
projects Project[]
|
||||
id String @id @default(uuid())
|
||||
email String @unique
|
||||
passwordHash String?
|
||||
name String
|
||||
avatarUrl String?
|
||||
apiKeyHash String?
|
||||
apiKeyEncrypted String?
|
||||
apiKeyPrefix String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
oauthAccounts OAuthAccount[]
|
||||
projects Project[]
|
||||
}
|
||||
|
||||
model OAuthAccount {
|
||||
@@ -38,7 +41,6 @@ model Project {
|
||||
baseUrl String?
|
||||
openApiSpec Json
|
||||
openApiVersion String
|
||||
apiKeyHash String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
Reference in New Issue
Block a user