Files
buzz/migrations/0074_invite_revocation.sql
Luke Tornquist 1163e202ee Merge main into invitation revocation candidate
Main's #8605 took migrations 0072 and 0073 for the user deletion
target, so the invitation migration moves to 0074_invite_revocation.sql.
Upgrade fixtures now start from main's schema through 0073, the migrator
test expects 74 contiguous migrations with the invitation assertions at
index 73, and both TESTING.md files name 0074.

Co-authored-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Luke Tornquist <tornquist@squareup.com>
2026-10-26 15:57:59 -04: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;