mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 12:52:13 +01:00
search api
This commit is contained in:
@@ -13,10 +13,10 @@ model Article {
|
||||
title String @unique
|
||||
markdown String
|
||||
contentTableEntries ContentTableEntry[]
|
||||
categoryId Int
|
||||
category Category @relation(fields: [categoryId], references: [id])
|
||||
typeId Int
|
||||
type ArticleType @relation(fields: [typeId], references: [id])
|
||||
categoryId Int?
|
||||
category Category? @relation(fields: [categoryId], references: [id])
|
||||
typeId Int?
|
||||
type ArticleType? @relation(fields: [typeId], references: [id])
|
||||
dateCreated DateTime @default(now())
|
||||
dateUpdated DateTime @default(now())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user