diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-08 18:17:30 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-08 18:17:30 +0200 |
| commit | 8265e92db6dd52e211bac01d7b2eac55d319e734 (patch) | |
| tree | fb4d3caeb8a5e4e56af36b858362a48fcd97c7e6 | |
| parent | 0a7dc1e9597396edc5a099240bf8aef024946219 (diff) | |
| download | orm-8265e92db6dd52e211bac01d7b2eac55d319e734.tar.gz orm-8265e92db6dd52e211bac01d7b2eac55d319e734.zip | |
regenerate
| -rw-r--r-- | models/participant.js | 8 | ||||
| -rw-r--r-- | models/participant_stats.js | 7 | ||||
| -rw-r--r-- | models/player.js | 4 | ||||
| -rw-r--r-- | models/roster.js | 4 |
4 files changed, 22 insertions, 1 deletions
diff --git a/models/participant.js b/models/participant.js index d080b22..f0f984d 100644 --- a/models/participant.js +++ b/models/participant.js @@ -49,6 +49,14 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.STRING(16), allowNull: false }, + farm: { + type: "DOUBLE(6,2)", + allowNull: false + }, + first_afk_time: { + type: "DOUBLE(12,4)", + allowNull: false + }, karma_level: { type: DataTypes.INTEGER(3).UNSIGNED, allowNull: false diff --git a/models/participant_stats.js b/models/participant_stats.js index 352f43e..b402276 100644 --- a/models/participant_stats.js +++ b/models/participant_stats.js @@ -16,8 +16,13 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.TIME, allowNull: true }, + final: { + type: DataTypes.INTEGER(1), + allowNull: false, + defaultValue: "1" + }, participant_api_id: { - type: DataTypes.STRING(191), + type: DataTypes.CHAR(36), allowNull: false }, kills: { diff --git a/models/player.js b/models/player.js index f9eff10..6a8dda2 100644 --- a/models/player.js +++ b/models/player.js @@ -40,6 +40,10 @@ module.exports = function(sequelize, DataTypes) { lifetime_gold: { type: "DOUBLE(8,2)", allowNull: false + }, + skill_tier: { + type: DataTypes.INTEGER(5).UNSIGNED, + allowNull: true } }, { tableName: 'player', diff --git a/models/roster.js b/models/roster.js index 286726e..8e7aeb6 100644 --- a/models/roster.js +++ b/models/roster.js @@ -48,6 +48,10 @@ module.exports = function(sequelize, DataTypes) { turrets_remaining: { type: DataTypes.INTEGER(5).UNSIGNED, allowNull: false + }, + winner: { + type: DataTypes.INTEGER(1), + allowNull: false } }, { tableName: 'roster', |
