simone 0fd73ddcc0 feat(10): add CRM schema foundation - leads, activities, reminders tables
- Expand leads table with CRM fields (phone, company, status, last_contact_date, next_action, notes)
- Add activities table for immutable interaction history
- Add reminders table for follow-up scheduling
- Add relations: leads ↔ activities, leads ↔ reminders
- Add TypeScript types: Activity, NewActivity, Reminder, NewReminder
- Status enum: contacted → qualified → proposal_sent → negotiating → won → lost
- Activity types: call, email, meeting, note
- Cascade delete for data integrity
- npm run build: PASSED (0 errors)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-11 15:07:36 +02:00
S
Description
ClientHub portale clienti
3.5 MiB
Languages
TypeScript 99.1%
CSS 0.7%