can add image to message
This commit is contained in:
@@ -42,6 +42,10 @@ const Message = sequelize.define('Message', {
|
||||
model: 'Messages',
|
||||
key: 'id'
|
||||
}
|
||||
},
|
||||
imagePath: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true
|
||||
}
|
||||
}, {
|
||||
timestamps: true
|
||||
|
||||
Reference in New Issue
Block a user