daily-code icon indicating copy to clipboard operation
daily-code copied to clipboard

bug: setupDB shell bug

Open yash-kh opened this issue 1 year ago • 0 comments

When we use this script, it throws a unique constraint error as we are running the seed twice.

Steps to reproduce the behavior:

  1. Drop the DB
  2. Rerun the setupDB script using:
  • cd packages/db
  • chmod +x ./setupDB.sh
  • ./setupDB.sh

It should not run twice. Screenshot 2024-05-11 at 1 00 35 PM

yash-kh avatar May 11 '24 07:05 yash-kh