Add missing objectMetadataId column in auditLog (#6164)
Insert inside AuditLog table are all failing due to objectMetadataId column missing. The FieldMetadata was sharing the same standard-id with another one (objectName) so it was skipped during the comparison step of the sync-metadata. Running a sync-metadata again should fix this issue. Note that this column is non-nullable so if the table contains existing records, it will fail. However, since the insert was failing I'm assuming the table is empty anyway.
This commit is contained in:
@ -157,6 +157,7 @@ export const AUDIT_LOGS_STANDARD_FIELD_IDS = {
|
||||
properties: '20202020-5d36-470e-8fad-d56ea3ab2fd0',
|
||||
context: '20202020-b9d1-4058-9a75-7469cab5ca8c',
|
||||
objectName: '20202020-76ba-4c47-b7e5-96034005d00a',
|
||||
objectMetadataId: '20202020-127b-409d-9864-0ec44aa9ed98',
|
||||
recordId: '20202020-c578-4acf-bf94-eb53b035cea2',
|
||||
workspaceMember: '20202020-6e96-4300-b3f5-67a707147385',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user