Implement edit-player. Optimizations.

This commit is contained in:
MaxJa4
2024-01-16 20:54:49 +01:00
parent fc084108ac
commit 94e0c178f0
14 changed files with 100 additions and 35 deletions

View File

@@ -4,4 +4,5 @@ type Player struct {
ID uint `json:"id" gorm:"primary_key"`
Name string `json:"name"`
ClanID uint `json:"clan_id"`
Clan Clan `gorm:"references:ID"`
}