fixing error with datatype

This commit is contained in:
Arjun Patel
2019-05-15 10:21:46 -07:00
parent e46bd0f52a
commit 3fa8015843
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = (sequelize, DataTypes) => {
type: DataTypes.STRING,
allowNull: true
},
short_description: { type: DataTypes.Text, allowNull: false },
short_description: { type: DataTypes.TEXT, allowNull: false },
total_received: {
type: DataTypes.INTEGER,
defaultValue: 0
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = (sequelize, DataTypes) => {
type: DataTypes.STRING(1000),
allowNull: false
},
description: { type: DataTypes.Text, allowNull: false },
description: { type: DataTypes.TEXT, allowNull: false },
isComplete: {
type: DataTypes.BOOLEAN,
defaultValue: false