diff options
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 |
