Skip to main content

Enquiry_EventLog Tables

The accounts_ServiceUnitEnquiry_EventLog_changelog and accounts_ServiceUnitEnquiry_EventLog_latest tables stores the logs for various events of all the enquiries, including event type, user details and event times.


🔹 Standard Columns​

Column NameData TypeNullableDescription
document_nameSTRINGYESFirestore document path reference
document_event_idSTRINGYESUnique identifier for the document event
document_timestampTIMESTAMPYESTimestamp of the document modification/creation
document_operationSTRINGYESType of document operation (e.g., INSERT, UPDATE, DELETE)
document_idSTRINGYESUnique document ID in Firestore
accountIdSTRINGYESID of the account
serviceUnitIdSTRINGYESID of the service unit
enquiryIdSTRINGYESID of the enquiry

🔸 Array Columns​

Array of STRUCT

events​

Column NameData TypeNullableDescription
eventSTRINGYESName/type of the event
firstnameSTRINGYESFirst name associated with the event
labelSTRINGYESLabel for the event
lastnameSTRINGYESLast name associated with the event
reasonSTRINGYESReason for the event
timestamp._secondsINT64YESSeconds part of the event timestamp
timestamp._nanosecondsINT64YESNanoseconds part of the event timestamp
fromAPIBOOLYESWhether the event originated from an API enquiry