2026-11-19 09:57:01 +00:00
|
|
|
-- An invitation can come with a package: a promo code made with it, sent in
|
|
|
|
|
-- the e-mail and redeemed by itself when the invitee signs up.
|
|
|
|
|
ALTER TABLE promo_codes ADD COLUMN invitation_id uuid UNIQUE REFERENCES invitations (id) ON DELETE SET NULL;
|