diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-14 18:58:17 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-14 18:58:17 +0200 |
| commit | dd2a4f706f20b83144e637896c55c550afa7030a (patch) | |
| tree | b6f48beba19672577cfbfba71b45ea89e780088f /models/stage.js | |
| parent | 0e5c3afae2be7a36372d9b29a1c7fa5fba649341 (diff) | |
| download | orm-dd2a4f706f20b83144e637896c55c550afa7030a.tar.gz orm-dd2a4f706f20b83144e637896c55c550afa7030a.zip | |
2.14.0 rewrite
Diffstat (limited to 'models/stage.js')
| -rw-r--r-- | models/stage.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/stage.js b/models/stage.js index 222c130..e7bb294 100644 --- a/models/stage.js +++ b/models/stage.js @@ -35,6 +35,14 @@ module.exports = function(sequelize, DataTypes) { status: { type: DataTypes.ENUM('planned','active','finished'), allowNull: false + }, + phase: { + type: DataTypes.ENUM('pre-season','group','playoffs','finals'), + allowNull: false + }, + rank: { + type: DataTypes.INTEGER(11), + allowNull: false } }, { tableName: 'stage', |
