From 3948fe1ad7e651a0f6c7e6922f1f159518e37dd1 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 15 May 2017 13:03:20 +0200 Subject: add participant_phases; extend shard id length --- models/participant_stats.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'models/participant_stats.js') 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', -- cgit v1.3.1