diff options
Diffstat (limited to 'models')
| -rw-r--r-- | models/asset.js | 3 | ||||
| -rw-r--r-- | models/match.js | 3 | ||||
| -rw-r--r-- | models/participant.js | 3 | ||||
| -rw-r--r-- | models/player_point.js | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/models/asset.js b/models/asset.js index 291dfb7..ae939a0 100644 --- a/models/asset.js +++ b/models/asset.js @@ -35,8 +35,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.fn('NOW') + allowNull: false }, description: { type: DataTypes.STRING(191), diff --git a/models/match.js b/models/match.js index d17d769..0b9f6d9 100644 --- a/models/match.js +++ b/models/match.js @@ -19,8 +19,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.fn('NOW') + allowNull: false }, duration: { type: DataTypes.INTEGER(5).UNSIGNED, diff --git a/models/participant.js b/models/participant.js index 050d1af..c477046 100644 --- a/models/participant.js +++ b/models/participant.js @@ -31,8 +31,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.fn('NOW') + allowNull: false }, actor: { type: DataTypes.STRING(16), diff --git a/models/player_point.js b/models/player_point.js index 4304c07..3153193 100644 --- a/models/player_point.js +++ b/models/player_point.js @@ -58,8 +58,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.fn('NOW') + allowNull: false }, kills: { type: DataTypes.INTEGER(5).UNSIGNED, |
