Add EnableKYC for event table
All checks were successful
Build Backend (NixCN CMS) TeamCity build finished
Build Frontend (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-05 22:48:27 +08:00
parent c2fd1c5cc8
commit b4d0959de4

View File

@@ -19,6 +19,7 @@ type Event struct {
StartTime time.Time `json:"start_time" gorm:"index"` StartTime time.Time `json:"start_time" gorm:"index"`
EndTime time.Time `json:"end_time" gorm:"index"` EndTime time.Time `json:"end_time" gorm:"index"`
Owner uuid.UUID `json:"owner" gorm:"type:uuid;index;not null"` Owner uuid.UUID `json:"owner" gorm:"type:uuid;index;not null"`
EnableKYC bool `json:"enable_kyc" gorm:"not null"`
} }
type EventSearchDoc struct { type EventSearchDoc struct {