Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Add index for event listener log
Acho Arnold1ec3af79d527
diff --git a/api/pkg/entities/event_listener_log.go b/api/pkg/entities/event_listener_log.goindex 8fd29282..91e3f4cb 100644--- a/api/pkg/entities/event_listener_log.go+++ b/api/pkg/entities/event_listener_log.go@@ -9,9 +9,9 @@ import (// EventListenerLog stores the log of all the events handledtype EventListenerLog struct {ID uuid.UUID `json:"id" gorm:"primaryKey;type:uuid;"`- EventID string `json:"event_id"`+ EventID string `json:"event_id" gorm:"uniqueIndex:idx_event_listener_log_event_id_handler"`EventType string `json:"event_type"`- Handler string `json:"handler"`+ Handler string `json:"handler" gorm:"uniqueIndex:idx_event_listener_log_event_id_handler"`Duration time.Duration `json:"duration"`HandledAt time.Time `json:"handled_at"`CreatedAt time.Time `json:"created_at"`