Files
buzz/migrations/0068_invite_revocation.sql
seiler 85f08b9692 fix(db): order invitation expansion after channel join roles
Keep main migration 0067 intact and move the unpublished invitation expansion to 0068. Exercise populated upgrades from complete main through 0067, retaining guest channel admission policy on both schema paths.

Signed-off-by: seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com>
2026-10-22 05:30:04 +00:00

6 lines
215 B
SQL

SET LOCAL lock_timeout = '5s';
SET LOCAL statement_timeout = '30s';
ALTER TABLE relay_invites ADD COLUMN revoked_at TIMESTAMPTZ;
ALTER TABLE relay_invites ADD COLUMN legacy_admission BOOLEAN NOT NULL DEFAULT true;