added gameban as separate thing
This commit is contained in:
@@ -22,7 +22,7 @@ func init() {
|
||||
playerFields := schema.Player{}.Fields()
|
||||
_ = playerFields
|
||||
// playerDescSteamUpdated is the schema descriptor for steam_updated field.
|
||||
playerDescSteamUpdated := playerFields[7].Descriptor()
|
||||
playerDescSteamUpdated := playerFields[9].Descriptor()
|
||||
// player.DefaultSteamUpdated holds the default value on creation for the steam_updated field.
|
||||
player.DefaultSteamUpdated = playerDescSteamUpdated.Default.(func() time.Time)
|
||||
}
|
||||
|
Reference in New Issue
Block a user