5 lines
285 B
SQL
5 lines
285 B
SQL
-- When the operator's Telegram notice about a paid checkout went out (the
|
|||
|
|
-- worker's `notify` task). Earlier purchases count as notified.
|
||
|
|
ALTER TABLE stripe_checkouts ADD COLUMN notified_at timestamptz;
|
||
|
|
UPDATE stripe_checkouts SET notified_at = now() WHERE completed_at IS NOT NULL;
|