Log
Documentation for the Log database schema.
Fields
| Field | Data Type | Usage |
|---|---|---|
| companyId | ObjectId | Unique reference to company. |
| action | String | Stores the action data. |
| module | String | Stores the module data. |
| description | String | Detailed notes or remarks. |
| userRole | String | Stores the user role data. |
| userId | ObjectId | Unique reference to user. |
| documentId | ObjectId | Unique reference to document. |
| changes | String | Stores the changes data. |
| field | String | Stores the field data. |
| oldValue | Mixed | Stores the old value data. |
| newValue | Mixed | Stores the new value data. |