diff --git a/lib/sqlHandler.js b/lib/sqlHandler.js index 42a69a1..bc93ea8 100644 --- a/lib/sqlHandler.js +++ b/lib/sqlHandler.js @@ -173,7 +173,7 @@ SqlStore.prototype._defineRelationModel = function (relationName, many) { autoIncrement: true }, id: { - type: new DataTypes.STRING(38), + type: DataTypes.UUID, allowNull: false }, type: {