From d4380da66020f2a3d496715d14b637a868c81614 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 7 Apr 2017 17:55:03 +0200 Subject: reimport after breaking changes --- models/player.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'models/player.js') diff --git a/models/player.js b/models/player.js index 827e9fc..f9eff10 100644 --- a/models/player.js +++ b/models/player.js @@ -9,18 +9,14 @@ module.exports = function(sequelize, DataTypes) { autoIncrement: true }, shard_id: { - type: DataTypes.STRING(191), - allowNull: true + type: DataTypes.STRING(5), + allowNull: false }, api_id: { - type: DataTypes.STRING(191), + type: DataTypes.CHAR(36), allowNull: false, unique: true }, - created_at: { - type: DataTypes.TIME, - allowNull: true - }, name: { type: DataTypes.STRING(191), allowNull: false -- cgit v1.3.1