chore(01-02): generate Drizzle migration from schema (0000_pretty_typhoid_mary.sql)

- 10 tables: clients, phases, tasks, deliverables, comments, payments,
  documents, notes, service_catalog, quote_items
- UNIQUE constraint on clients.token enforced at DB level
- All FK cascades correct (deliverables->tasks->phases->clients)
- approved_at: timestamp with time zone (nullable, immutable)
- drizzle.config.ts already correct from Plan 01 (no changes needed)
This commit is contained in:
Simone Cavalli
2026-05-13 22:46:54 +02:00
parent 1bdbe7ab5d
commit a6ec599188
3 changed files with 724 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1778705200462,
"tag": "0000_pretty_typhoid_mary",
"breakpoints": true
}
]
}