chingu-voyages / v46-tier3-team-37

Add-project-description-here | Voyage-46 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs
https://v46-tier3-team-37-rent-a-wrench.vercel.app/
0 stars 2 forks source link

30 feature seed file populated #31

Closed LynchHarrison closed 1 year ago

LynchHarrison commented 1 year ago

Added schema file - small adjustments for seed file - removed @unique for password

seed file is setup with initial data - primarily tied to user2 and user1 (James & Sean).

I anticipate as we progress with the project we may need a bit more data to play around with for now using the 2 login accounts should give us data to test.

Added a script to the package.json - reset-db (I put the --force tag so when you run the command you dont have to hit y in the terminal)

Reason behind the script is the database wont add a user that already exists on the database. "forcing the reset" - then running all the necessary prisma db commands to get up and running is the idea. One command to reset them all.

SeanPaulson commented 1 year ago

Looks good!