summaryrefslogtreecommitdiff
path: root/models/global_point.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-07-14 18:58:17 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-07-14 18:58:17 +0200
commitdd2a4f706f20b83144e637896c55c550afa7030a (patch)
treeb6f48beba19672577cfbfba71b45ea89e780088f /models/global_point.js
parent0e5c3afae2be7a36372d9b29a1c7fa5fba649341 (diff)
downloadorm-dd2a4f706f20b83144e637896c55c550afa7030a.tar.gz
orm-dd2a4f706f20b83144e637896c55c550afa7030a.zip
2.14.0 rewrite
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',