stable ui
This commit is contained in:
@@ -20,11 +20,27 @@ model User {
|
||||
mobile String?
|
||||
role Role @default(USER)
|
||||
orgId Int?
|
||||
avatarUrl String? @db.LongText
|
||||
challenge String? @db.Text
|
||||
countings Counting[]
|
||||
authenticators Authenticator[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Authenticator {
|
||||
id String @id @default(cuid())
|
||||
credentialID String @unique
|
||||
credentialPublicKey Bytes
|
||||
counter BigInt
|
||||
credentialDeviceType String
|
||||
credentialBackedUp Boolean
|
||||
transports String?
|
||||
|
||||
userId Int
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
}
|
||||
|
||||
model Location {
|
||||
id Int @id @default(autoincrement())
|
||||
code String @unique
|
||||
|
||||
Reference in New Issue
Block a user