mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 00:02:37 +10:00
24 lines
362 B
Plaintext
24 lines
362 B
Plaintext
enum AuthMec {
|
|
Simple
|
|
}
|
|
|
|
model LinkedAuthMec {
|
|
userId String
|
|
mec AuthMec
|
|
|
|
credentials Json
|
|
|
|
user User @relation(fields: [userId], references: [id])
|
|
|
|
@@id([userId, mec])
|
|
}
|
|
|
|
model Invitation {
|
|
id String @id @default(uuid())
|
|
isAdmin Boolean @default(false)
|
|
|
|
username String?
|
|
email String?
|
|
expires DateTime
|
|
}
|