We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c28ad commit 189e5cdCopy full SHA for 189e5cd
src/models/Email.js
@@ -13,7 +13,7 @@
13
module.exports = (sequelize, DataTypes) => sequelize.define('Email', {
14
id: { type: DataTypes.BIGINT, primaryKey: true, autoIncrement: true },
15
topicName: { type: DataTypes.STRING, allowNull: true, field: 'topic_name' },
16
- data: { type: DataTypes.STRING, allowNull: false },
+ data: { type: DataTypes.TEXT, allowNull: false },
17
recipients: { type: DataTypes.STRING, allowNull: false },
18
status: { type: DataTypes.STRING, allowNull: false },
19
}, {});
0 commit comments