basic functionality for image upload and db change

This commit is contained in:
Arjun Patel
2019-04-09 02:08:15 -07:00
parent 27626a0fbf
commit 3539f7aef9
7 changed files with 255 additions and 6 deletions
+4
View File
@@ -9,6 +9,10 @@ module.exports = (sequelize, DataTypes) => {
primaryKey: true
},
name: { type: DataTypes.STRING, allowNull: false },
profile_pic_url: {
type: DataTypes.STRING,
allowNull: true
},
short_description: { type: DataTypes.STRING, allowNull: false },
total_received: {
type: DataTypes.INTEGER,