summaryrefslogtreecommitdiff
path: root/models/player_point.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-09 15:31:56 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-09 15:31:56 +0200
commitb3758f0394a392867310ac7d368fda3ce909f7a7 (patch)
tree581ab405caa98d65685f4e1c983822a818d0f742 /models/player_point.js
parentf950bbfcde927ebff3d6a7c341851d6e4c34924b (diff)
downloadorm-b3758f0394a392867310ac7d368fda3ce909f7a7.tar.gz
orm-b3758f0394a392867310ac7d368fda3ce909f7a7.zip
hotfixes for cruncher development
Diffstat (limited to 'models/player_point.js')
-rw-r--r--models/player_point.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/models/player_point.js b/models/player_point.js
index 3153193..84d9621 100644
--- a/models/player_point.js
+++ b/models/player_point.js
@@ -10,7 +10,7 @@ module.exports = function(sequelize, DataTypes) {
},
shard_id: {
type: DataTypes.STRING(5),
- allowNull: false
+ allowNull: true
},
player_id: {
type: DataTypes.BIGINT,
@@ -18,23 +18,23 @@ module.exports = function(sequelize, DataTypes) {
},
pick_rate: {
type: "DOUBLE(8,2)",
- allowNull: false
+ allowNull: true
},
played: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
wins: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
time_spent: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
win_rate: {
type: "DOUBLE(8,2)",
- allowNull: false
+ allowNull: true
},
series_id: {
type: DataTypes.BIGINT,
@@ -44,7 +44,7 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.BIGINT,
allowNull: false
},
- actor_id: {
+ hero_id: {
type: DataTypes.BIGINT,
allowNull: false
},
@@ -54,51 +54,51 @@ module.exports = function(sequelize, DataTypes) {
},
updated_at: {
type: DataTypes.DATE,
- allowNull: false
+ allowNull: true
},
created_at: {
type: DataTypes.TIME,
- allowNull: false
+ allowNull: true
},
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,