btg: paragraphJson fix
This commit is contained in:
@@ -224,15 +224,14 @@ model MagazineMeta {
|
||||
// paragraphs: array of HTML paragraph strings (all articles concatenated)
|
||||
// ---------------------------------------------------------------------------
|
||||
model MagazineIssue {
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
book String
|
||||
volume Int
|
||||
part Int
|
||||
title String
|
||||
slug String
|
||||
order Int
|
||||
paragraphs String[]
|
||||
paragraphsJson String?
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
book String
|
||||
volume Int
|
||||
part Int
|
||||
title String
|
||||
slug String
|
||||
order Int
|
||||
paragraphs String[]
|
||||
|
||||
@@unique([book, slug])
|
||||
@@index([book])
|
||||
|
||||
Reference in New Issue
Block a user