Skip to content

Commit 7c771c2

Browse files
author
sachin-maheshwari
authored
Merge pull request #9 from topcoder-platform/feature/version-support
increasing field data from varchar 255 to text.
2 parents 9b2ff12 + 189e5cd commit 7c771c2

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)