mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-10 15:48:29 +02:00
[management] Add account ID index to activity events (#3946)
This commit is contained in:
@ -31,7 +31,7 @@ type Event struct {
|
||||
// TargetID is the ID of an object that was effected by the event (e.g., a peer)
|
||||
TargetID string
|
||||
// AccountID is the ID of an account where the event happened
|
||||
AccountID string
|
||||
AccountID string `gorm:"index"`
|
||||
|
||||
// Meta of the event, e.g. deleted peer information like name, IP, etc
|
||||
Meta map[string]any `gorm:"serializer:json"`
|
||||
|
Reference in New Issue
Block a user