summaryrefslogtreecommitdiff
path: root/models/participant_phases.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-16 12:46:56 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-16 12:46:56 +0200
commit1dc5153a785732b68e77a5a74c4ece1607a28b68 (patch)
tree7d243fb94ea5bb4ab8afe638da3c8bbe6a455165 /models/participant_phases.js
parent45fc2f3df0ade6bd5126d55e79371dad92d722d5 (diff)
downloadorm-1dc5153a785732b68e77a5a74c4ece1607a28b68.tar.gz
orm-1dc5153a785732b68e77a5a74c4ece1607a28b68.zip
update participant_phase
Diffstat (limited to 'models/participant_phases.js')
-rw-r--r--models/participant_phases.js6
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
},