mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-18 02:31:19 +10:00
refactor: split prisma schemas
This commit is contained in:
12
prisma/schema/user.prisma
Normal file
12
prisma/schema/user.prisma
Normal file
@ -0,0 +1,12 @@
|
||||
model User {
|
||||
id String @id @default(uuid())
|
||||
username String @unique
|
||||
admin Boolean @default(false)
|
||||
|
||||
email String
|
||||
displayName String
|
||||
profilePicture String // Object
|
||||
|
||||
authMecs LinkedAuthMec[]
|
||||
clients Client[]
|
||||
}
|
||||
Reference in New Issue
Block a user