8 lines
420 B
SQL
8 lines
420 B
SQL
-- "How compatible are we?" invitations from the new person page: who it is
|
|||
|
|
-- for (the inviter's own name for them) and, if the inviter asked us to
|
||
|
|
-- e-mail it, the address.
|
||
|
|
ALTER TABLE synastry_invites
|
||
|
|
ADD COLUMN label text CHECK (char_length(label) <= 80),
|
||
|
|
ADD COLUMN invitee_email text;
|
||
|
|
CREATE INDEX synastry_invites_emailed_idx ON synastry_invites (inviter_id, created_at) WHERE invitee_email IS NOT NULL;
|