From 86007965a98e6682efcb4f34ba8d23420aac617b Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 16 May 2017 11:01:23 +0200 Subject: participant_phase changes --- models/participant_phases.js | 12 ++++++++++-- models/participant_stats.js | 12 ++++++++++-- models/tournament.js | 4 ++++ 3 files changed, 24 insertions(+), 4 deletions(-) (limited to 'models') diff --git a/models/participant_phases.js b/models/participant_phases.js index 876dec3..cfaeb18 100644 --- a/models/participant_phases.js +++ b/models/participant_phases.js @@ -72,11 +72,19 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.INTEGER(8).UNSIGNED, allowNull: true }, - hero_dps: { + hero_damage_true: { type: "DOUBLE", allowNull: true }, - non_hero_dps: { + hero_damage_dealt: { + type: "DOUBLE", + allowNull: true + }, + non_hero_damage: { + type: "DOUBLE", + allowNull: true + }, + non_hero_damage_dealt: { type: "DOUBLE", allowNull: true }, diff --git a/models/participant_stats.js b/models/participant_stats.js index ebb4585..f7cfbf2 100644 --- a/models/participant_stats.js +++ b/models/participant_stats.js @@ -184,11 +184,19 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.INTEGER(5).UNSIGNED, allowNull: false }, - hero_dps: { + hero_damage_true: { type: "DOUBLE", allowNull: true }, - non_hero_dps: { + hero_damage_dealt: { + type: "DOUBLE", + allowNull: true + }, + non_hero_damage: { + type: "DOUBLE", + allowNull: true + }, + non_hero_dps_damage: { type: "DOUBLE", allowNull: true } diff --git a/models/tournament.js b/models/tournament.js index 5722d02..1c1ff32 100644 --- a/models/tournament.js +++ b/models/tournament.js @@ -31,6 +31,10 @@ module.exports = function(sequelize, DataTypes) { end: { type: DataTypes.TIME, allowNull: true + }, + region: { + type: DataTypes.STRING(191), + allowNull: true } }, { tableName: 'tournament', -- cgit v1.3.1