snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
117
application/Espo/Resources/metadata/entityDefs/Notification.json
Normal file
117
application/Espo/Resources/metadata/entityDefs/Notification.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"fields": {
|
||||
"number": {
|
||||
"type": "autoincrement",
|
||||
"dbType": "bigint",
|
||||
"index": true
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"noteData": {
|
||||
"type": "jsonObject",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true
|
||||
},
|
||||
"type": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"read": {
|
||||
"type": "bool"
|
||||
},
|
||||
"emailIsProcessed": {
|
||||
"type": "bool"
|
||||
},
|
||||
"user": {
|
||||
"type": "link"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"message": {
|
||||
"type": "text"
|
||||
},
|
||||
"related": {
|
||||
"type": "linkParent",
|
||||
"readOnly": true
|
||||
},
|
||||
"relatedParent": {
|
||||
"type": "linkParent",
|
||||
"readOnly": true
|
||||
},
|
||||
"actionId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36,
|
||||
"readOnly": true,
|
||||
"index": true
|
||||
},
|
||||
"isFeatured": {
|
||||
"type": "bool",
|
||||
"readOnly": true
|
||||
},
|
||||
"groupedCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
},
|
||||
"groupType": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"options": [
|
||||
"",
|
||||
"Note",
|
||||
"EmailReceived"
|
||||
]
|
||||
},
|
||||
"groupedUnreadCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User",
|
||||
"noJoin": true
|
||||
},
|
||||
"user": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"related": {
|
||||
"type": "belongsToParent"
|
||||
},
|
||||
"relatedParent": {
|
||||
"type": "belongsToParent"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "number",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"type": "index",
|
||||
"columns": ["createdAt"]
|
||||
},
|
||||
"user": {
|
||||
"type": "index",
|
||||
"columns": ["userId", "number"]
|
||||
},
|
||||
"userIdReadRelatedParentType": {
|
||||
"type": "index",
|
||||
"columns": ["userId", "deleted", "read", "relatedParentType"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user