diff --git a/src/models/Email.js b/src/models/Email.js index 2b1760b..1c6a3cc 100644 --- a/src/models/Email.js +++ b/src/models/Email.js @@ -13,7 +13,7 @@ module.exports = (sequelize, DataTypes) => sequelize.define('Email', { id: { type: DataTypes.BIGINT, primaryKey: true, autoIncrement: true }, topicName: { type: DataTypes.STRING, allowNull: true, field: 'topic_name' }, - data: { type: DataTypes.STRING, allowNull: false }, + data: { type: DataTypes.TEXT, allowNull: false }, recipients: { type: DataTypes.STRING, allowNull: false }, status: { type: DataTypes.STRING, allowNull: false }, }, {});