Don't record PlayerName

This commit is contained in:
Skillet 2023-02-15 10:13:05 -05:00 committed by GitHub
parent 0e60aa8d4a
commit ad5e5bf290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,9 +39,6 @@ export default class DBLogPlayerTime extends DBLog {
primaryKey: true, primaryKey: true,
autoIncrement: true autoIncrement: true
}, },
playerName: {
type: DataTypes.STRING
},
joinTime: { joinTime: {
type: DataTypes.DATE type: DataTypes.DATE
}, },
@ -115,7 +112,6 @@ export default class DBLogPlayerTime extends DBLog {
await this.models.PlayerTime.create({ await this.models.PlayerTime.create({
server: this.options.overrideServerID || this.server.id, server: this.options.overrideServerID || this.server.id,
player: info.player.steamID, player: info.player.steamID,
playerName: info.player.name,
joinTime: info.time, joinTime: info.time,
joinedSeeding: this.seeding joinedSeeding: this.seeding
}); });