generated from Code-the-Dream-School/react-node-practicum-back-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Description
The User model will need to be updated to include two new fields.
Acceptance Criteria
Update the User schema to include the following
- Phone number
- type: Number
- default: null
- Image (profile picture)
I did some digging because I am unfamiliar with setting and storing images in mongo.
Here are some resources I found to help setup the schema
- type: Buffer (this may be incorrect, so change it accordingly)
- name: string (we can set this to their username)
- default: null
storing images in mongoDB
Geeks for Geeks article look at step 3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels