Create ActiveRecord models for new audit events tables
Background
As part of &13370 cells migration, we will need to split our audit_events
table into 4 new tables:
- user_audit_event
- project_audit_event
- group_audit_event
- instance_audit_event
The objective of this issue is to create models for these new tables.
Proposal
- Create four new models:
UserAuditEvent
,ProjectAuditEvent
,GroupAuditEvent
andInstanceAuditEvent
- Continue supporting the scopes and methods supported by
AuditEvent
model.
Edited by Harsimar Sandhu