feat(carbet): add lastBookedAt and endpoint

This commit is contained in:
Karbé Architect 2026-05-30 17:52:41 +00:00
parent 8d36f7008f
commit fcc2749d1d
5 changed files with 63 additions and 2 deletions

View file

@ -0,0 +1,2 @@
ALTER TABLE "Carbet"
ADD COLUMN "lastBookedAt" TIMESTAMP(3);

View file

@ -109,6 +109,7 @@ model Carbet {
pirogueDurationMin Int
capacity Int
status CarbetStatus @default(DRAFT)
lastBookedAt DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt