summaryrefslogtreecommitdiff
path: root/models/player.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/player.js')
-rw-r--r--models/player.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/player.js b/models/player.js
index a52f05e..4f5dbf5 100644
--- a/models/player.js
+++ b/models/player.js
@@ -21,15 +21,15 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: false
},
- created_at: {
+ last_match_created_date: {
type: DataTypes.TIME,
allowNull: true
},
- last_match_created_date: {
+ last_update: {
type: DataTypes.TIME,
allowNull: true
},
- last_update: {
+ created_at: {
type: DataTypes.TIME,
allowNull: true
},
@@ -39,7 +39,7 @@ module.exports = function(sequelize, DataTypes) {
},
xp: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
lifetime_gold: {
type: "DOUBLE(8,2)",