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/division_team.js | |
| parent | 0e5c3afae2be7a36372d9b29a1c7fa5fba649341 (diff) | |
| download | orm-dd2a4f706f20b83144e637896c55c550afa7030a.tar.gz orm-dd2a4f706f20b83144e637896c55c550afa7030a.zip | |
2.14.0 rewrite
Diffstat (limited to 'models/division_team.js')
| -rw-r--r-- | models/division_team.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/models/division_team.js b/models/division_team.js index 4db03f7..90c55f6 100644 --- a/models/division_team.js +++ b/models/division_team.js @@ -24,13 +24,25 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.INTEGER(11), allowNull: false }, - points: { + games_played: { + type: DataTypes.INTEGER(11), + allowNull: false + }, + games_won: { type: DataTypes.INTEGER(11), allowNull: false }, seed: { type: DataTypes.INTEGER(11), allowNull: false + }, + points: { + type: "DOUBLE", + allowNull: false + }, + sub_division: { + type: DataTypes.STRING(191), + allowNull: false } }, { tableName: 'division_team', |
