feat: prompts admin-only, add isOpen field to Prompt model

This commit is contained in:
AyrisAI
2026-07-23 17:45:59 +03:00
parent 29bbac3c39
commit 0ef8af2525
5 changed files with 34 additions and 183 deletions
+1
View File
@@ -169,6 +169,7 @@ model Prompt {
description String @db.Text
content String @db.Text
tags String[]
isOpen Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}