summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-07 19:12:46 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-07 19:12:46 +0200
commit4f5f8c552970fef615a8d9e612036c287b03a2c9 (patch)
tree97a296f5c1299fb8d271a2580bd4364a246c4ab7
parentb3f07c8b9018f878e2922f4b5551434bc84a588e (diff)
downloadorm-4f5f8c552970fef615a8d9e612036c287b03a2c9.tar.gz
orm-4f5f8c552970fef615a8d9e612036c287b03a2c9.zip
regenerate
-rw-r--r--models/participant.js8
-rw-r--r--models/participant_stats.js22
2 files changed, 19 insertions, 11 deletions
diff --git a/models/participant.js b/models/participant.js
index c364181..0623578 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -33,6 +33,14 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(10).UNSIGNED,
allowNull: false
},
+ game_mode_id: {
+ type: DataTypes.INTEGER(10).UNSIGNED,
+ allowNull: false
+ },
+ role_id: {
+ type: DataTypes.INTEGER(10).UNSIGNED,
+ allowNull: false
+ },
created_at: {
type: DataTypes.TIME,
allowNull: false
diff --git a/models/participant_stats.js b/models/participant_stats.js
index bae73ba..352f43e 100644
--- a/models/participant_stats.js
+++ b/models/participant_stats.js
@@ -17,48 +17,48 @@ module.exports = function(sequelize, DataTypes) {
allowNull: true
},
participant_api_id: {
- type: DataTypes.BIGINT,
+ type: DataTypes.STRING(191),
allowNull: false
},
kills: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
deaths: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
assists: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
minion_kills: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
jungle_kills: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
non_jungle_minion_kills: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
crystal_mine_captures: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
gold_mine_captures: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
kraken_captures: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
turret_captures: {
type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
+ allowNull: true
},
gold: {
type: DataTypes.INTEGER(8).UNSIGNED,