From 5728d5af42984bca49e30528d77c15169e4bcce0 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 12 Jun 2017 15:50:39 +0200 Subject: 2.7.0 phase changes --- models/event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models/event.js') diff --git a/models/event.js b/models/event.js index beed589..daa9c58 100644 --- a/models/event.js +++ b/models/event.js @@ -12,7 +12,7 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.STRING(191), allowNull: true }, - group_id: { + division_id: { type: DataTypes.INTEGER(11), allowNull: false }, @@ -22,7 +22,7 @@ module.exports = function(sequelize, DataTypes) { }, team_1_id: { type: DataTypes.INTEGER(11), - allowNull: false + allowNull: true }, team_1_score: { type: DataTypes.INTEGER(11), @@ -30,7 +30,7 @@ module.exports = function(sequelize, DataTypes) { }, team_2_id: { type: DataTypes.INTEGER(11), - allowNull: false + allowNull: true }, team_2_score: { type: DataTypes.INTEGER(11), -- cgit v1.3.1