diff options
Diffstat (limited to 'internal/models')
| -rw-r--r-- | internal/models/models.go | 15 | 
1 files changed, 8 insertions, 7 deletions
diff --git a/internal/models/models.go b/internal/models/models.go index 71fb358..5bc120b 100644 --- a/internal/models/models.go +++ b/internal/models/models.go @@ -11,13 +11,14 @@ const (  type (  	UserScore struct { -		ID        uint32 `db:"id"` -		Username  string `db:"username"` -		Password  string `db:"password"` -		Actions   []Action -		BurnTime  time.Time `db:"burn_time"` -		Score     int8      `db:"score"` -		CreatedAt time.Time `db:"created_at"` +		ID              uint32 `db:"id"` +		Username        string `db:"username"` +		Password        string `db:"password"` +		Actions         []Action +		Recommendations []Action +		BurnTime        time.Time `db:"burn_time"` +		Score           int8      `db:"score"` +		CreatedAt       time.Time `db:"created_at"`  	}  	Action struct {  		ID         uint32     `db:"id"`  | 
