btg: paragraphJson fix

This commit is contained in:
gosangam
2026-05-04 00:30:13 +05:30
parent e55ab47b66
commit 004ff6ca2f
3 changed files with 30 additions and 34 deletions
+8 -9
View File
@@ -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])