summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-28 13:26:00 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-28 13:26:00 +0200
commit2f54618895f80afc26e738f06aebb88fda6342f7 (patch)
tree8c03cdf863ea7113c13b7cc102fc284820cfcc48 /models
parenta03537c059e3da0ce547d0e0913b1d10018c24df (diff)
downloadorm-2f54618895f80afc26e738f06aebb88fda6342f7.tar.gz
orm-2f54618895f80afc26e738f06aebb88fda6342f7.zip
disable trueskill, waiting for migrations on prod
Diffstat (limited to 'models')
-rw-r--r--models/match.js4
-rw-r--r--models/participant.js4
-rw-r--r--models/player.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/models/match.js b/models/match.js
index 4faf015..24a483f 100644
--- a/models/match.js
+++ b/models/match.js
@@ -36,11 +36,11 @@ module.exports = function(sequelize, DataTypes) {
queue: {
type: DataTypes.STRING(16),
allowNull: false
- },
+ }/*,
trueskill_quality: {
type: "DOUBLE",
allowNull: true
- }
+ }*/
}, {
tableName: 'match',
timestamps: false,
diff --git a/models/participant.js b/models/participant.js
index f545fb3..5791b56 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -84,7 +84,7 @@ module.exports = function(sequelize, DataTypes) {
winner: {
type: DataTypes.INTEGER(1),
allowNull: false
- },
+ }/*,
trueskill_mu: {
type: "DOUBLE",
allowNull: true
@@ -92,7 +92,7 @@ module.exports = function(sequelize, DataTypes) {
trueskill_sigma: {
type: "DOUBLE",
allowNull: true
- }
+ }*/
}, {
tableName: 'participant',
timestamps: false,
diff --git a/models/player.js b/models/player.js
index 8851db7..3f0565b 100644
--- a/models/player.js
+++ b/models/player.js
@@ -48,7 +48,7 @@ module.exports = function(sequelize, DataTypes) {
skill_tier: {
type: DataTypes.INTEGER(6),
allowNull: true
- },
+ }/*,
trueskill_mu: {
type: "DOUBLE",
allowNull: true
@@ -56,7 +56,7 @@ module.exports = function(sequelize, DataTypes) {
trueskill_sigma: {
type: "DOUBLE",
allowNull: true
- }
+ }*/
}, {
tableName: 'player',
timestamps: false,