refactor: split prisma schemas

This commit is contained in:
DecDuck
2024-11-16 16:24:23 +11:00
parent 2c21a235b2
commit 9011cf5c83
6 changed files with 163 additions and 167 deletions

12
prisma/schema/user.prisma Normal file
View 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[]
}