diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-24 20:48:35 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-24 20:48:35 +0200 |
| commit | cee339e514bbafbca0779e370bfb480a24f53beb (patch) | |
| tree | e3ac804a27b79a0414ef1a8f45f052d22a4591e6 /models/participant.js | |
| parent | debcb308754d2a9e1f1ab76d6355ad4f2242a5c2 (diff) | |
| download | orm-cee339e514bbafbca0779e370bfb480a24f53beb.tar.gz orm-cee339e514bbafbca0779e370bfb480a24f53beb.zip | |
add trueskill attrs
Diffstat (limited to 'models/participant.js')
| -rw-r--r-- | models/participant.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/participant.js b/models/participant.js index b5166b3..f545fb3 100644 --- a/models/participant.js +++ b/models/participant.js @@ -84,6 +84,14 @@ module.exports = function(sequelize, DataTypes) { winner: { type: DataTypes.INTEGER(1), allowNull: false + }, + trueskill_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_sigma: { + type: "DOUBLE", + allowNull: true } }, { tableName: 'participant', |
