summaryrefslogtreecommitdiff
path: root/models/participant_stats.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-13 19:18:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-13 19:18:05 +0200
commit5ed3f029ea60b167931476fb76b3ed2dac7064e9 (patch)
treee69363399f8742738e529738dd9f9182c0417063 /models/participant_stats.js
parent8b195532914b08b89cec89c0e647e8b9bfdf6b06 (diff)
parent8755bc1a229bc0774536af62e20be547b422073a (diff)
downloadorm-5ed3f029ea60b167931476fb76b3ed2dac7064e9.tar.gz
orm-5ed3f029ea60b167931476fb76b3ed2dac7064e9.zip
Merge branch 'release/2.0.0' of https://gitlab.com/vainglorygame/orm into release/2.0.0
Diffstat (limited to 'models/participant_stats.js')
-rw-r--r--models/participant_stats.js42
1 files changed, 23 insertions, 19 deletions
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
}
}, {