summaryrefslogtreecommitdiff
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
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
-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
}
}, {