feat: allow sitters to mark jobs as completed with notification
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Booking" ADD COLUMN "completedAt" DATETIME;
|
||||
@@ -30,6 +30,7 @@ model Booking {
|
||||
date DateTime
|
||||
sitterName String?
|
||||
type String @default("SITTER") // "SITTER" or "OWNER_HOME"
|
||||
completedAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@unique([planId, date, sitterName])
|
||||
|
||||
Reference in New Issue
Block a user