From 37c16ecf9fd64fc7644e82d8619584d0f64d694e Mon Sep 17 00:00:00 2001 From: Kapil Viren Ahuja Date: Thu, 30 Mar 2017 21:34:58 +0530 Subject: Pushed shard_id to all the tables as shard + api_id is the unique combination --- models/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/player.js') diff --git a/models/player.js b/models/player.js index 4f24f56..af56432 100644 --- a/models/player.js +++ b/models/player.js @@ -23,7 +23,7 @@ module.exports = function(sequelize, DataTypes) { }, shard_id: { type: DataTypes.STRING(191), - allowNull: true + allowNull: false }, last_match_created_date: { type: DataTypes.TIME, -- cgit v1.3.1