From 1dc5153a785732b68e77a5a74c4ece1607a28b68 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 16 May 2017 12:46:56 +0200 Subject: update participant_phase --- models/participant_phases.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'models') 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 }, -- cgit v1.3.1