fix mistake

This commit is contained in:
kandrusyak
2023-07-18 02:21:41 +03:00
parent 03cb8c3e38
commit 46afe2e794
2 changed files with 3 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ import (
)
type Event struct {
ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid();primarykey"`
gorm.Model
ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid();primarykey"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
Author User `json:"author" gorm:"-"`