summaryrefslogtreecommitdiff
path: root/models/roster.js
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-30 21:34:58 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-30 21:34:58 +0530
commit37c16ecf9fd64fc7644e82d8619584d0f64d694e (patch)
treedfa3cdcef7294f17687d476415658d5adee16e97 /models/roster.js
parent4e4597e14f5a4a70c6e81ec431946abbafe7ceb2 (diff)
downloadshrinker-37c16ecf9fd64fc7644e82d8619584d0f64d694e.tar.gz
shrinker-37c16ecf9fd64fc7644e82d8619584d0f64d694e.zip
Pushed shard_id to all the tables as shard + api_id is the unique combination
Diffstat (limited to 'models/roster.js')
-rw-r--r--models/roster.js4
1 files changed, 4 insertions, 0 deletions
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