feat(notes): let organizations define their own note fields
The note form was fixed. Owners can add fields and each note keeps those values. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -52,6 +52,7 @@ enum CustomFieldEntity {
|
||||
person
|
||||
company
|
||||
deal
|
||||
note
|
||||
}
|
||||
|
||||
enum CustomFieldType {
|
||||
@@ -941,6 +942,8 @@ model Note {
|
||||
checklist Json?
|
||||
locationText String?
|
||||
analyzeEnabled Boolean @default(true)
|
||||
/// مقادیر فیلدهای سفارشی یادداشت
|
||||
customFields Json @default("{}")
|
||||
personId String?
|
||||
person Person? @relation(fields: [personId], references: [id], onDelete: SetNull)
|
||||
companyId String?
|
||||
|
||||
Reference in New Issue
Block a user