mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-23 05:01:17 +10:00
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?
|
||||
|
||||
Reference in New Issue
Block a user