fix(GRO-1533): add missing default_buffer_minutes migration #53
Reference in New Issue
Block a user
Delete Branch "fix/gro-1533-missing-migration-journal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
Test plan
🤖 Generated with Claude Code
Review: APPROVED
Migration SQL — Minimal, idempotent (
IF NOT EXISTS), correct type (integer DEFAULT 0 NOT NULL). ✅Journal — Entries for idx 31 (
0031_buffer_rules), 32 (0032_staff_read_at), 33 (0033_add_services_default_buffer_minutes) are sequential and correct. ✅Snapshot —
0033_snapshot.jsonexists. The"id": "0026_stripe_payment"mismatch is cosmetic — Drizzle migrate() only reads journal + SQL files at runtime; the snapshot is only used bydrizzle-kit generatefor future migration authoring. ✅CI — Combined status:
success. Docker build, lint/typecheck, and tests all passed. ✅UAT_PLAYBOOK.md — TC-API-5.1 already documents
GET /api/services → 200 OK. This PR restores the endpoint to its already-documented expected behaviour; no new test cases needed. ✅Approved for merge to
dev. Handing to CTO for final review.