idk even know anymore
i think i added games
This commit is contained in:
@@ -5,4 +5,5 @@ type User struct {
|
||||
|
||||
Login string `json:"login" gorm:"unique"`
|
||||
Password string `json:"-"`
|
||||
Games []Game `json:"games" gorm:"many2many:user_games"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user