summaryrefslogtreecommitdiff
path: root/models/global_point.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/global_point.js')
-rw-r--r--models/global_point.js100
1 files changed, 12 insertions, 88 deletions
diff --git a/models/global_point.js b/models/global_point.js
index 85be061..4287abf 100644
--- a/models/global_point.js
+++ b/models/global_point.js
@@ -40,6 +40,14 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.BIGINT,
allowNull: true
},
+ enemy_hero_id: {
+ type: DataTypes.BIGINT,
+ allowNull: false
+ },
+ enemy_role_id: {
+ type: DataTypes.BIGINT,
+ allowNull: false
+ },
region_id: {
type: DataTypes.BIGINT,
allowNull: true
@@ -68,6 +76,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.BIGINT,
allowNull: true
},
+ farm: {
+ type: "DOUBLE",
+ allowNull: false
+ },
minion_kills: {
type: DataTypes.BIGINT,
allowNull: true
@@ -100,97 +112,9 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.BIGINT,
allowNull: true
},
- kda_ratio: {
- type: "DOUBLE(20,5)",
- allowNull: true
- },
- kill_participation: {
- type: "DOUBLE(20,5)",
- allowNull: true
- },
- cs_per_min: {
- type: "DOUBLE(20,5)",
- allowNull: true
- },
- kills_per_min: {
- type: "DOUBLE(20,5)",
- allowNull: true
- },
impact_score: {
type: DataTypes.BIGINT,
allowNull: true
- },
- objective_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- damage_cp_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- damage_wp_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- sustain_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- farm_lane_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- kill_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- objective_lane_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- farm_jungle_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- peel_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- kill_assist_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- objective_jungle_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- vision_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- heal_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- assist_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- utility_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- synergy_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- build_score: {
- type: DataTypes.BIGINT,
- allowNull: true
- },
- offmeta_score: {
- type: DataTypes.BIGINT,
- allowNull: true
}
}, {
tableName: 'global_point',