feat: finish migrating to new objectid naming
This commit is contained in:
@@ -13,8 +13,8 @@ model Article {
|
||||
|
||||
tags Tag[]
|
||||
|
||||
image String? // Object ID
|
||||
publishedAt DateTime @default(now())
|
||||
imageObjectId String? // Object ID
|
||||
publishedAt DateTime @default(now())
|
||||
|
||||
author User? @relation(fields: [authorId], references: [id]) // Optional, if no user, it's a system post
|
||||
authorId String?
|
||||
|
||||
@@ -4,9 +4,9 @@ model User {
|
||||
admin Boolean @default(false)
|
||||
enabled Boolean @default(true)
|
||||
|
||||
email String
|
||||
displayName String
|
||||
profilePicture String // Object
|
||||
email String
|
||||
displayName String
|
||||
profilePictureObjectId String // Object
|
||||
|
||||
authMecs LinkedAuthMec[]
|
||||
clients Client[]
|
||||
|
||||
Reference in New Issue
Block a user