diff options
Diffstat (limited to 'models')
| -rw-r--r-- | models/participant_phases.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/models/participant_phases.js b/models/participant_phases.js index cfaeb18..5ddc2af 100644 --- a/models/participant_phases.js +++ b/models/participant_phases.js @@ -16,7 +16,11 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.TIME, allowNull: true }, - duration: { + start: { + type: DataTypes.INTEGER(5).UNSIGNED, + allowNull: false + }, + end: { type: DataTypes.INTEGER(5).UNSIGNED, allowNull: false }, |
