diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 12:46:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 12:46:56 +0200 |
| commit | 1dc5153a785732b68e77a5a74c4ece1607a28b68 (patch) | |
| tree | 7d243fb94ea5bb4ab8afe638da3c8bbe6a455165 /models/participant_phases.js | |
| parent | 45fc2f3df0ade6bd5126d55e79371dad92d722d5 (diff) | |
| download | orm-1dc5153a785732b68e77a5a74c4ece1607a28b68.tar.gz orm-1dc5153a785732b68e77a5a74c4ece1607a28b68.zip | |
update participant_phase
Diffstat (limited to 'models/participant_phases.js')
| -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 }, |
