summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/participant_phases.js12
-rw-r--r--models/participant_stats.js12
-rw-r--r--models/tournament.js4
3 files changed, 24 insertions, 4 deletions
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',