changing the type of org desc and project desc to text
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true
|
||||
},
|
||||
short_description: { type: DataTypes.STRING, allowNull: false },
|
||||
short_description: { type: DataTypes.Text, allowNull: false },
|
||||
total_received: {
|
||||
type: DataTypes.INTEGER,
|
||||
defaultValue: 0
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
type: DataTypes.STRING(1000),
|
||||
allowNull: false
|
||||
},
|
||||
description: DataTypes.STRING,
|
||||
description: { type: DataTypes.Text, allowNull: false },
|
||||
isComplete: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false
|
||||
|
||||
Reference in New Issue
Block a user