diff --git a/data/event.go b/data/event.go index a9148ac..fe7d966 100644 --- a/data/event.go +++ b/data/event.go @@ -17,6 +17,7 @@ type Event struct { Type string `json:"type" gotm:"type:varchar(255);index;not null"` StartTime time.Time `json:"start_time" gorm:"index"` EndTime time.Time `json:"end_time" gorm:"index"` + Owner uuid.UUID `json:"owner" gorm:"type:uuid;index;not null"` } type EventSearchDoc struct {