summaryrefslogtreecommitdiff
path: root/models/match.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-06-08 12:42:19 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-06-08 12:42:19 +0200
commitc5cd9e53d7413ce960a2170eedb466073175bf80 (patch)
treec68eaf276b864e710645a8b1d8ca5e4c3de90271 /models/match.js
parente263eecd3951de72a67d00c26c95e9752179a39c (diff)
downloadorm-c5cd9e53d7413ce960a2170eedb466073175bf80.tar.gz
orm-c5cd9e53d7413ce960a2170eedb466073175bf80.zip
import 2.7.0 table changes
Diffstat (limited to 'models/match.js')
-rw-r--r--models/match.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/match.js b/models/match.js
index 4faf015..f36aa7b 100644
--- a/models/match.js
+++ b/models/match.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(191),
+ type: DataTypes.STRING(5),
allowNull: false
},
api_id: {
@@ -19,7 +19,7 @@ module.exports = function(sequelize, DataTypes) {
},
created_at: {
type: DataTypes.TIME,
- allowNull: false
+ allowNull: true
},
duration: {
type: DataTypes.INTEGER(5).UNSIGNED,