From 14541dcb3c2713d166da427e16da2c5c54c2d1cc Mon Sep 17 00:00:00 2001 From: Kapil Viren Ahuja Date: Thu, 30 Mar 2017 20:44:53 +0530 Subject: Series changes Disabling timestanmps --- models/match.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'models/match.js') 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 }); }; -- cgit v1.3.1