Add category SEO description for storefront category pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-27 20:46:17 +03:30
co-authored by Cursor
parent 835c8a0ac1
commit b661877d77
6 changed files with 33 additions and 4 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Category" ADD COLUMN IF NOT EXISTS "seoDescription" TEXT NOT NULL DEFAULT '';
+2
View File
@@ -151,6 +151,8 @@ model Category {
packages String[] @default([])
/// Ordered form-builder defs: [{ id, labelFa, labelEn?, type: "text", required? }]
technicalFields Json @default("[]")
/// Long-form SEO / category page copy shown on the storefront
seoDescription String @default("")
products Product[]
@@index([storeId])