forked from spacebar/SplatNet-Backend
feat: Add RemainCount_TEAM. Thx @crafterpika for discovering this!
This commit is contained in:
parent
af97e95e10
commit
30089971a1
2 changed files with 6 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ const SplatfestResult = connection.define('SplatfestResult', {
|
|||
MemoryHash: { type: DataTypes.BIGINT },
|
||||
Paint_Alpha: { type: DataTypes.INTEGER },
|
||||
Paint_Bravo: { type: DataTypes.INTEGER },
|
||||
RemainCount_Alpha: { type: DataTypes.INTEGER },
|
||||
RemainCount_Bravo: { type: DataTypes.INTEGER },
|
||||
FaceImg: { type: DataTypes.BLOB }
|
||||
}, {
|
||||
tableName: 'results',
|
||||
|
|
|
|||
|
|
@ -138,8 +138,12 @@ module.exports = {
|
|||
BottleneckPlayerNum: joi.numberstring(),
|
||||
MaxSilenceFrame: joi.numberstring(),
|
||||
MemoryHash: joi.numberstring(),
|
||||
//swaps Paint_TEAM for RemainCount_TEAM.
|
||||
//Paint_TEAM is used in turf, RemainCount is used in Ranked
|
||||
Paint_Alpha: joi.numberstring(),
|
||||
Paint_Bravo: joi.numberstring(),
|
||||
RemainCount_Alpha: joi.numberstring(),
|
||||
RemainCount_Bravo: joi.numberstring(),
|
||||
FaceImg: joi.binary()
|
||||
}).unknown(true).options({ presence: 'optional' }).required(),
|
||||
multipart_validator: multer().any()
|
||||
|
|
|
|||
Loading…
Reference in a new issue