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.
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.