- Gifts bought 15 Nov - 6 Jan get a Christmas card ("Boldog karácsonyt és
csillagos 2027-et!", snowflakes) and a Christmas e-mail subject.
- The buyer can time the gift e-mail (e.g. Christmas morning); "Küldés most"
replaces a waiting one, a refund takes it back.
- Admin: timed e-mails by hour (waiting / sent / failed), e-mail state per gift.
- /karacsony landing page; seasonal hints on /csomagok and /ajandek.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
7 lines
285 B
SQL
7 lines
285 B
SQL
-- A gift e-mailed later (e.g. on Christmas morning): when (NULL: at once),
|
|
-- and the e-mail queued for it, to show whether it went out (the outbox row
|
|
-- itself is cleaned up a week after sending).
|
|
ALTER TABLE gifts
|
|
ADD COLUMN send_at timestamptz,
|
|
ADD COLUMN email_id uuid;
|