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

Seed Dev Database With Service Requests #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

emmahuangg
Copy link
Contributor

@emmahuangg emmahuangg commented Feb 9, 2024

I misread my ticket for SignupRequests so here is something I wasn't supposed to do :]

Implementation description

  • Added a seeding script that populates the development.serviceRequest table with a SITE and KITCHEN request for each user in development.user

Steps to test

  1. Go into our scv2_ts_backend docker container
  2. Go to "Files" - ".env"
  3. Open file editor
  4. Change the "test" in the database URL to "development" to populate the development collection
  5. Run the container
  6. Go to "Exec"
  7. Type in npx prisma db seed -- --environment development

What should reviewers focus on?

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

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.

1 participant