ALTER TABLE workspace_membership
    ADD COLUMN invite_token VARCHAR(255),
    ADD COLUMN invite_expires_at TIMESTAMPTZ;

CREATE INDEX idx_workspace_membership_invite_token ON workspace_membership (invite_token) WHERE invite_token IS NOT NULL;
