summaryrefslogtreecommitdiff
path: root/models/match.js
diff options
context:
space:
mode:
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,