Add Discord ID to Player

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-07-20 18:39:53 -05:00
parent d2b27d7edf
commit b5164bb6fa
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
2 changed files with 2 additions and 0 deletions

View File

@ -8,5 +8,6 @@ const (
PlayerApplicationID Field = "application_id"
PlayerFirstSeen Field = "first_seen"
PlayerLastSeen Field = "last_seen"
PlayerDiscordID Field = "discord_id"
PlayerLink = Link
)

View File

@ -15,6 +15,7 @@ type Player struct {
ApplicationID int64 `json:"application_id"`
FirstSeen string `json:"first_seen"`
LastSeen string `json:"last_seen"`
DiscordID string `json:"discord_id"`
Link string `json:"link"`
model *Model `json:"-"`