Skip to content

Commit 189e5cd

Browse files
author
Sachin Maheshwari
committed
increasing field data from verchar 255 to text.
1 parent f4c28ad commit 189e5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/Email.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
module.exports = (sequelize, DataTypes) => sequelize.define('Email', {
1414
id: { type: DataTypes.BIGINT, primaryKey: true, autoIncrement: true },
1515
topicName: { type: DataTypes.STRING, allowNull: true, field: 'topic_name' },
16-
data: { type: DataTypes.STRING, allowNull: false },
16+
data: { type: DataTypes.TEXT, allowNull: false },
1717
recipients: { type: DataTypes.STRING, allowNull: false },
1818
status: { type: DataTypes.STRING, allowNull: false },
1919
}, {});

0 commit comments

Comments
 (0)