mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 21:02:13 +01:00
category not optional anymore
This commit is contained in:
@@ -16,8 +16,8 @@ model Article {
|
|||||||
image Image? @relation(fields: [imageId], references: [id])
|
image Image? @relation(fields: [imageId], references: [id])
|
||||||
markdown String
|
markdown String
|
||||||
contentTableEntries ContentTableEntry[]
|
contentTableEntries ContentTableEntry[]
|
||||||
categoryId Int?
|
categoryId Int
|
||||||
category Category? @relation(fields: [categoryId], references: [id])
|
category Category @relation(fields: [categoryId], references: [id])
|
||||||
dateCreated DateTime @default(now())
|
dateCreated DateTime @default(now())
|
||||||
dateUpdated DateTime @default(now())
|
dateUpdated DateTime @default(now())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user