File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ type Event struct {
7272 Location string `json:"location"`
7373 Duration string `json:"duration"`
7474 Capacity int `json:"capacity"`
75- Status string `json:"status"` // comming soon
76- Tags []EventTag `gorm:"foreignKey:EventID;constraint:OnDelete:CASCADE;"` // Ensure foreign key is correctly referenced
77- Speakers []EventSpeaker `gorm:"foreignKey:EventID;constraint:OnDelete:CASCADE;"` // Ensure foreign key is correctly referenced
75+ Status string `json:"status"`
76+ Tags []EventTag `json:"tags" gorm:"foreignKey:EventID;constraint:OnDelete:CASCADE;"`
77+ Speakers []EventSpeaker `json:"speakers" gorm:"foreignKey:EventID;constraint:OnDelete:CASCADE;"`
7878 RegistrationLink string `json:"registration_link"`
7979 Price float64 `json:"price"` // 0 == free
8080 CreatedBy int `json:"-"`
You can’t perform that action at this time.
0 commit comments