diff options
Diffstat (limited to 'models')
| -rw-r--r-- | models/match.js | 7 | ||||
| -rw-r--r-- | models/participant.js | 3 | ||||
| -rw-r--r-- | models/player.js | 3 | ||||
| -rw-r--r-- | models/roster.js | 3 |
4 files changed, 10 insertions, 6 deletions
diff --git a/models/match.js b/models/match.js index 18f179a..8372d97 100644 --- a/models/match.js +++ b/models/match.js @@ -26,9 +26,9 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.STRING(191), allowNull: false }, - patch_version: { + series: { type: DataTypes.STRING(191), - allowNull: false + allowNull: true }, shard_id: { type: DataTypes.STRING(191), @@ -43,6 +43,7 @@ module.exports = function(sequelize, DataTypes) { allowNull: false } }, { - tableName: 'match' + tableName: 'match', + timestamps: false }); }; diff --git a/models/participant.js b/models/participant.js index 18ba729..efcb7dd 100644 --- a/models/participant.js +++ b/models/participant.js @@ -98,6 +98,7 @@ module.exports = function(sequelize, DataTypes) { allowNull: false } }, { - tableName: 'participant' + tableName: 'participant', + timestamps: false }); }; diff --git a/models/player.js b/models/player.js index 605029e..4f24f56 100644 --- a/models/player.js +++ b/models/player.js @@ -42,6 +42,7 @@ module.exports = function(sequelize, DataTypes) { allowNull: false } }, { - tableName: 'player' + tableName: 'player', + timestamps: false }); }; diff --git a/models/roster.js b/models/roster.js index fb4b129..5966e3a 100644 --- a/models/roster.js +++ b/models/roster.js @@ -49,6 +49,7 @@ module.exports = function(sequelize, DataTypes) { allowNull: false } }, { - tableName: 'roster' + tableName: 'roster', + timestamps: false }); }; |
