added player names
This commit is contained in:
@@ -14,6 +14,7 @@ type Player struct {
|
||||
SlapID *uint32 `bun:"slap_id,unique" json:"slap_id"`
|
||||
DiscordID string `bun:"discord_id,unique,notnull" json:"discord_id"`
|
||||
UserID *int `bun:"user_id,unique" json:"user_id"`
|
||||
Name string `bun:"name,notnull" json:"name"`
|
||||
|
||||
User *User `bun:"rel:belongs-to,join:user_id=id" json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user