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/roster.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'models/roster.js') diff --git a/models/roster.js b/models/roster.js index 5966e3a..f196f0f 100644 --- a/models/roster.js +++ b/models/roster.js @@ -17,6 +17,10 @@ module.exports = function(sequelize, DataTypes) { allowNull: false, unique: true }, + shard_id: { + type: DataTypes.STRING(191), + allowNull: false + }, aces_earned: { type: DataTypes.INTEGER(11), allowNull: false -- cgit v1.3.1