daily-code
daily-code copied to clipboard
bug: setupDB shell bug
When we use this script, it throws a unique constraint error as we are running the seed twice.
Steps to reproduce the behavior:
- Drop the DB
- Rerun the setupDB script using:
- cd packages/db
- chmod +x ./setupDB.sh
- ./setupDB.sh
It should not run twice.