Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Upload, Part 1: Database modifications, Create file #250

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

JamieTsai1024
Copy link

@JamieTsai1024 JamieTsai1024 commented Apr 25, 2024

Notion ticket link

Implement File Upload

Implementation description

  • Added new table for pdf files storage
  • Added foreign key in intakes table for the pdf file
  • Pass pdf file from form to backend to store in database
  • Note: delete, update, and download file are handled in separate PRs

Steps to test

  1. Add a new case

  2. Fill out intake form and add an order referral file
    image

  3. Make sure that the pdf shows up in the pdf_file table once the form is submitted

What should reviewers focus on?

  • Backend upload
  • Database table creation

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

@JamieTsai1024 JamieTsai1024 changed the title Ryan jamie/file upload File Upload, Part 1: Database modifications, Create file Apr 25, 2024
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.

2 participants