summaryrefslogtreecommitdiff
path: root/models/participant_stats.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-15 13:03:20 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-15 13:03:20 +0200
commit3948fe1ad7e651a0f6c7e6922f1f159518e37dd1 (patch)
treef35e7876369690b4f13dbd5564b75ac8e4bf179c /models/participant_stats.js
parentd14ebf9491391366dd07104ddecaf95f0b08c00b (diff)
downloadorm-3948fe1ad7e651a0f6c7e6922f1f159518e37dd1.tar.gz
orm-3948fe1ad7e651a0f6c7e6922f1f159518e37dd1.zip
add participant_phases; extend shard id length
Diffstat (limited to 'models/participant_stats.js')
-rw-r--r--models/participant_stats.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/models/participant_stats.js b/models/participant_stats.js
index 6b2c9a9..ebb4585 100644
--- a/models/participant_stats.js
+++ b/models/participant_stats.js
@@ -16,11 +16,6 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.TIME,
allowNull: true
},
- final: {
- type: DataTypes.INTEGER(1),
- allowNull: false,
- defaultValue: "1"
- },
participant_api_id: {
type: DataTypes.CHAR(36),
allowNull: false
@@ -188,6 +183,14 @@ module.exports = function(sequelize, DataTypes) {
duration: {
type: DataTypes.INTEGER(5).UNSIGNED,
allowNull: false
+ },
+ hero_dps: {
+ type: "DOUBLE",
+ allowNull: true
+ },
+ non_hero_dps: {
+ type: "DOUBLE",
+ allowNull: true
}
}, {
tableName: 'participant_stats',