feat: add HelpText model, service, and controller for dynamic help text management
This commit is contained in:
@@ -263,3 +263,17 @@ model UnitMapping {
|
||||
@@index([productId])
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model HelpText {
|
||||
id Int @id @default(autoincrement())
|
||||
key String
|
||||
scope String @default("default")
|
||||
title String
|
||||
content String @db.Text
|
||||
isActive Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@unique([key, scope])
|
||||
@@index([key, isActive])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user