Prisma client is missing CheckoutCoupon — recreate the web container
Member coupon helpers (checkout-coupon) threw because prisma.checkoutCoupon is missing. Product: run npm run db:generate, then recreate the web container (docker compose up -d web).
Why this happens
Same root cause as the admin sibling that adds “not only restart” — old Prisma client in the running process/image after schema added CheckoutCoupon.
Diagnose and fix
1. Run npm run db:generate (or your image build that runs Prisma generate).
2. Recreate web: docker compose up -d web (prefer recreate over restart alone).
3. Confirm migrations applied if the table is missing.
4. Retry coupon apply / admin coupons list.