@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user