feat(carbet): add lastBookedAt field + endpoint #14

Closed
tarzzan wants to merge 2 commits from feat/sys-17-last-booked-at into main
Owner

Summary

  • add lastBookedAt DateTime? to Carbet model
  • add Prisma migration for lastBookedAt
  • expose GET /api/carbets/[carbetId]/last-booked returning { lastBookedAt }
  • update booking creation flows to keep carbet.lastBookedAt synced with latest confirmed booking

Notes

  • branch contains implementation commit 08a5321
## Summary - add `lastBookedAt DateTime?` to `Carbet` model - add Prisma migration for `lastBookedAt` - expose `GET /api/carbets/[carbetId]/last-booked` returning `{ lastBookedAt }` - update booking creation flows to keep `carbet.lastBookedAt` synced with latest confirmed booking ## Notes - branch contains implementation commit `08a5321`
tarzzan added 2 commits 2026-05-30 16:52:47 +00:00
tarzzan closed this pull request 2026-05-30 17:03:14 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tarzzan/karbe#14
No description provided.