summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--models/player.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/models/player.js b/models/player.js
index 3bdab2e..a37cbf2 100644
--- a/models/player.js
+++ b/models/player.js
@@ -21,6 +21,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: false
},
+ created_at: {
+ type: DataTypes.TIME,
+ allowNull: true
+ },
last_match_created_date: {
type: DataTypes.TIME,
allowNull: true
@@ -35,7 +39,7 @@ module.exports = function(sequelize, DataTypes) {
},
xp: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
lifetime_gold: {
type: "DOUBLE(8,2)",