diff --git a/TESTING.md b/TESTING.md index 035fe059c5..fa3a9a3a82 100644 --- a/TESTING.md +++ b/TESTING.md @@ -236,8 +236,8 @@ can be repaired under the same controls. Use a **fresh disposable database through migration 0074**, the complete pre-change schema including channel join roles, for upgrade testing. Do not reuse -an older database that applied the invitation migration numbered 0074 or a -different 0075 checksum; reconcile it separately without resetting a user's +an older database that applied an invitation migration under an earlier number +or a different 0075 checksum; reconcile it separately without resetting a user's database. Seed legacy links for a restricted issuer and an unrelated issuer; lift the first restriction before upgrade. Apply schema-only 0075 and confirm it rewrites no invite rows. Before diff --git a/scripts/maintenance/backfill_invite_revocations.sql b/scripts/maintenance/backfill_invite_revocations.sql index 96859417ae..286da2578b 100644 --- a/scripts/maintenance/backfill_invite_revocations.sql +++ b/scripts/maintenance/backfill_invite_revocations.sql @@ -1,5 +1,5 @@ -- This companion must be separately approved before core deployment and run --- in that same controlled rollout, after schema migration 0068 and draining +-- in that same controlled rollout, after schema migration 0075 and draining -- every old writer. Prevent invite mint/claim, ban lifts, and NEW timeouts/mutes -- throughout drain/repair. Without controls covering all writer paths, remove -- public traffic and stop all relay/admin/background/direct writers; run only