7a3ceb05-d8a7-4da8-bc71-27e5e31df3de
This commit is contained in:
1 parent
e16d7a748a
commit
7640b78975
18 files changed
+1096
-4
No files matched your search
@@ -162,6 +162,7 @@ model Project {
|
||||
updatedAt DateTime @updatedAt
|
||||
tasks Task[]
|
||||
timeEntries TimeEntry[]
|
||||
approvals PortalApproval[]
|
||||
}
|
||||
|
||||
model Task {
|
||||
@@ -514,6 +515,7 @@ model Webhook {
|
||||
model PortalApproval {
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
project Project @relation(fields: [projectId], references: [id])
|
||||
title String // e.g. "Design-Entwürfe freigeben"
|
||||
description String?
|
||||
status String @default("pending") // pending|approved|rejected|changes-requested
|
||||
@@ -528,6 +530,28 @@ model PortalApproval {
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Knowledge Base (PRD §6.7) — internal + client-facing docs with versioning
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
model Article {
|
||||
id String @id @default(cuid())
|
||||
slug String @unique
|
||||
title String
|
||||
category String // onboarding|launch-checklist|templates|handbuch|faq
|
||||
visibility String @default("internal") // internal|client|public
|
||||
excerpt String?
|
||||
content String // markdown
|
||||
tags String? // comma separated
|
||||
version Int @default(1)
|
||||
authorId String?
|
||||
authorName String?
|
||||
published Boolean @default(true)
|
||||
viewCount Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user