summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-04-12 17:26:49 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-04-12 17:26:49 +0530
commit8755bc1a229bc0774536af62e20be547b422073a (patch)
treeba90f3ef06cf7fba87e4433208f6df07213f6a81
parentf3adfecdc7e1b82919b36d7e3a47e5685630349b (diff)
downloadorm-8755bc1a229bc0774536af62e20be547b422073a.tar.gz
orm-8755bc1a229bc0774536af62e20be547b422073a.zip
Changes for 200.
/close 200
-rw-r--r--models/participant.js4
-rw-r--r--models/participant_stats.js42
2 files changed, 23 insertions, 23 deletions
diff --git a/models/participant.js b/models/participant.js
index 22381fc..caa8c80 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -57,10 +57,6 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(16),
allowNull: false
},
- farm: {
- type: "DOUBLE(6,2)",
- allowNull: false
- },
first_afk_time: {
type: "DOUBLE(12,4)",
allowNull: false
diff --git a/models/participant_stats.js b/models/participant_stats.js
index e5c4f46..cc47d0f 100644
--- a/models/participant_stats.js
+++ b/models/participant_stats.js
@@ -25,6 +25,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.CHAR(36),
allowNull: false
},
+ farm: {
+ type: "DOUBLE(6,2)",
+ allowNull: false
+ },
kills: {
type: DataTypes.INTEGER(5).UNSIGNED,
allowNull: true
@@ -94,79 +98,79 @@ module.exports = function(sequelize, DataTypes) {
allowNull: true
},
impact_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
objective_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
damage_cp_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
damage_wp_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
sustain_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
farm_lane_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
kill_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
objective_lane_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
farm_jungle_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
peel_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
kill_assist_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
objective_jungle_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
vision_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
heal_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
assist_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
utility_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
synergy_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
build_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
},
offmeta_score: {
- type: DataTypes.INTEGER(3).UNSIGNED,
+ type: "DOUBLE(6,5)",
allowNull: true
}
}, {