diff options
Diffstat (limited to 'models/participant.js')
| -rw-r--r-- | models/participant.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/participant.js b/models/participant.js index caa8c80..f508e9b 100644 --- a/models/participant.js +++ b/models/participant.js @@ -51,7 +51,8 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false + allowNull: false, + defaultValue: sequelize.literal('CURRENT_TIMESTAMP') }, actor: { type: DataTypes.STRING(16), |
