Files
Ghost_Kitchen/drizzle/0010_lush_black_bolt.sql
T
lukasandClaude Opus 5.5 6fc315a5f2 Discard items left in their pickup box past a 15-minute window
An item's pickup window starts when it goes into its box. Once it runs
out, the item is discarded without a refund and the box is freed; a box
that's open at that moment is left alone. With no scheduler yet, reads,
box actions and the kitchen simulation check for expired items first.

The order card shows a live countdown under "Ready for pickup" and a
"Not picked up in time" banner once discarded. Also bounces the lock
icon and animates the pickup button's label changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:26:37 +02:00

1 line
66 B
SQL

ALTER TABLE "order_items" ADD COLUMN "placed_in_box_at" timestamp;