- Throw an error if the
bun run setup command if DATABASE_URL contains the word prisma. This would prevent accidental modification of the production database.
- Delete and re-create the database
leetify.
- Seed say top 10 valid Leetcode users. This will ensure "Sync problems" button is functional.
- Seed at least 10 problems for each user.
- Randomly mark several problems as favorite.
- Seed any other valid information.
Ref: https://www.prisma.io/docs/orm/prisma-migrate/workflows/seeding
bun run setupcommand ifDATABASE_URLcontains the wordprisma. This would prevent accidental modification of the production database.leetify.Ref: https://www.prisma.io/docs/orm/prisma-migrate/workflows/seeding