Aligns schema with the API and server action, both of which already require product_id. Changes onDelete from SetNull to Cascade — deleting a product now also removes its todos. Run: npx prisma db push Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| neon.md | ||
| schema.prisma | ||
| seed.ts | ||