Comprehensive test coverage for repairs: full status lifecycle (new → picked_up), in_transit branch, pending_parts round-trip, delivered alternate ending, reopen cancelled, validation errors, search by instrument, filter by status and isBatch, notes CRUD with visibility and status capture, service templates CRUD with soft-delete, signed URL generation and access. Migration to set column default to new. 107 total API tests passing.
2 lines
69 B
SQL
2 lines
69 B
SQL
ALTER TABLE "repair_ticket" ALTER COLUMN "status" SET DEFAULT 'new';
|