diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-12 15:50:39 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-12 15:50:39 +0200 |
| commit | 5728d5af42984bca49e30528d77c15169e4bcce0 (patch) | |
| tree | 4b73ae9bf6026d130062e6a5d4ceb11eff0e8fde /models/event.js | |
| parent | c5cd9e53d7413ce960a2170eedb466073175bf80 (diff) | |
| download | orm-release/2.7.0.tar.gz orm-release/2.7.0.zip | |
2.7.0 phase changesrelease/2.7.0
Diffstat (limited to 'models/event.js')
| -rw-r--r-- | models/event.js | 6 |
1 files changed, 3 insertions, 3 deletions
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), |
