summaryrefslogtreecommitdiff
path: root/models/player.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-14 10:02:14 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-14 10:02:14 +0200
commit3bc8688c6900242621bb90303c6db12c24e5ef96 (patch)
treeb076ca277725c028bf7af1ea7d6abd047794c707 /models/player.js
parentf0a70b032b502bac34a08535d0d686f82373c468 (diff)
downloadorm-3bc8688c6900242621bb90303c6db12c24e5ef96.tar.gz
orm-3bc8688c6900242621bb90303c6db12c24e5ef96.zip
reimport
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)",