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/player_point.js | |
| parent | 0e5c3afae2be7a36372d9b29a1c7fa5fba649341 (diff) | |
| download | orm-dd2a4f706f20b83144e637896c55c550afa7030a.tar.gz orm-dd2a4f706f20b83144e637896c55c550afa7030a.zip | |
2.14.0 rewrite
Diffstat (limited to 'models/player_point.js')
| -rw-r--r-- | models/player_point.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/models/player_point.js b/models/player_point.js index ed9a6b1..4f1aae5 100644 --- a/models/player_point.js +++ b/models/player_point.js @@ -12,26 +12,10 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.CHAR(36), allowNull: false }, - played: { - type: DataTypes.INTEGER(11), - allowNull: true - }, - wins: { - type: DataTypes.INTEGER(11), - allowNull: true - }, - time_spent: { - type: DataTypes.INTEGER(11), - allowNull: true - }, series_id: { type: DataTypes.BIGINT, allowNull: false }, - role_id: { - type: DataTypes.BIGINT, - allowNull: false - }, filter_id: { type: DataTypes.BIGINT, allowNull: false @@ -44,6 +28,22 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.BIGINT, allowNull: false }, + role_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + played: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + wins: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + time_spent: { + type: DataTypes.INTEGER(11), + allowNull: true + }, updated_at: { type: DataTypes.DATE, allowNull: false |
