Identity
Stores User Data
Schema
pubkey
: String (Pubkey)name
: Stringlud16
: JSONnonceId
: Int
Relations
- Nonce - ONE
Prisma definition
model Identity {
pubkey String @map("id")
name String @map("name")
nonce Nonce @relation(fields: [nonceId], references: [id])
nonceId Int
createdAt DateTime @default(now())
@@id([pubkey])
@@index([name])
}