This commit is contained in:
pradeepkumar
2026-01-24 21:36:39 +05:30
parent 5844d17837
commit 06dc78d57e
3 changed files with 130 additions and 15 deletions

View File

@@ -46,6 +46,7 @@ enum FieldType {
DATE // Date picker
TAG_INPUT // Tag input (add custom tags)
FILE // File upload (documents, images)
REPEATER // Repeatable group of fields (e.g., certification + years)
}
@@ -226,6 +227,7 @@ model ProfileSection {
isActive Boolean @default(true)
isGlobal Boolean @default(false) // If true, applies to ALL agent types
isSystem Boolean @default(false) // If true, section cannot be deleted (system default)
isRepeatable Boolean @default(false) // If true, user can add multiple entries (e.g., certifications)
// Timestamps
createdAt DateTime @default(now())