Skip to content

216 - Add profile_image to the user model in database#224

Merged
mehanana merged 1 commit into
mainfrom
216-add-profile-image-to-user-db
Jun 3, 2026
Merged

216 - Add profile_image to the user model in database#224
mehanana merged 1 commit into
mainfrom
216-add-profile-image-to-user-db

Conversation

@mehanana
Copy link
Copy Markdown
Contributor

@mehanana mehanana commented Jun 2, 2026

ℹ️ Issue

Closes #216

📝 Description

Added the profile_image to the user table in the database

Briefly list the changes made to the code:

  1. Added the new column in the db setup file
  2. Changed the GET, POST, and PATCH endpoints in lambdas/users/handler.ts to include the new profile_image column
  3. Wrote an E2E test and verified the endpoints work as expected

✔️ Verification

Tested through Swagger UI and ran jest tests. All jest tests passed and all Swagger UI tests returned 200 status code.

Jest tests:
Screenshot 2026-06-01 222336
POST endpoint:
Screenshot 2026-06-01 223534
PATCH endpoint:
Screenshot 2026-06-01 223626
GET endpoint:
Screenshot 2026-06-01 223655
PATCH endpoint (no profile_image added):
Screenshot 2026-06-01 225736

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

…o include the new column; wrote a test for this
@mehanana mehanana requested a review from nourshoreibah as a code owner June 2, 2026 03:07
@github-actions github-actions Bot requested a review from Rayna-Yu June 2, 2026 03:07
github-actions Bot added a commit that referenced this pull request Jun 2, 2026
github-actions Bot added a commit that referenced this pull request Jun 2, 2026
@mehanana mehanana added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit 5499585 Jun 3, 2026
17 checks passed
@mehanana mehanana deleted the 216-add-profile-image-to-user-db branch June 3, 2026 01:53
github-actions Bot added a commit that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add profile_image to the user model on database

3 participants