diff --git a/pkg/attendee/model.go b/pkg/attendee/model.go index eb5c841..8b87ab1 100644 --- a/pkg/attendee/model.go +++ b/pkg/attendee/model.go @@ -3,7 +3,6 @@ package attendee import ( "gorm.io/gorm" - "github.com/marcopollivier/techagenda/pkg/event" "github.com/marcopollivier/techagenda/pkg/user" ) @@ -11,10 +10,9 @@ type Attendee struct { gorm.Model FullName string ContactInfo string - Metadata any - EventID string - UserID string + Metadata any `gorm:"serializer:json"` + EventID uint + UserID uint - event.Event - user.User + User user.User }