diff --git a/data/event.go b/data/event.go index cfa678c..16e4298 100644 --- a/data/event.go +++ b/data/event.go @@ -19,6 +19,7 @@ type Event struct { 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"` + EnableKYC bool `json:"enable_kyc" gorm:"not null"` } type EventSearchDoc struct {