From 4f5f8c552970fef615a8d9e612036c287b03a2c9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 7 Apr 2017 19:12:46 +0200 Subject: regenerate --- models/participant.js | 8 ++++++++ models/participant_stats.js | 22 +++++++++++----------- 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, -- cgit v1.3.1