diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 11:01:23 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 11:01:23 +0200 |
| commit | 86007965a98e6682efcb4f34ba8d23420aac617b (patch) | |
| tree | 8e8eadc2e573d3aa26473bcabb26471f207f6b25 /models | |
| parent | 3948fe1ad7e651a0f6c7e6922f1f159518e37dd1 (diff) | |
| download | orm-86007965a98e6682efcb4f34ba8d23420aac617b.tar.gz orm-86007965a98e6682efcb4f34ba8d23420aac617b.zip | |
participant_phase changes
Diffstat (limited to 'models')
| -rw-r--r-- | models/participant_phases.js | 12 | ||||
| -rw-r--r-- | models/participant_stats.js | 12 | ||||
| -rw-r--r-- | models/tournament.js | 4 |
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', |
