fix(db): reconcile invitation admission with main

Adapt invitation helpers to the community-admitted transaction API and move the unreleased revocation migration after the current schema changes. Exercise upgrades from the latest pre-revocation schema.

Signed-off-by: Local Builder <1c476cb1127ea270cb900bdc3891060140bdd1173f91498030ee9b4db01c2f20@buzz.block.builderlab.xyz>
This commit is contained in:
Local Builder
2026-10-15 18:09:56 -04:00
committed by seiler
parent 2ab99e9b7e
commit a3b7b181a8
7 changed files with 31 additions and 31 deletions

View File

@@ -234,7 +234,7 @@ BEGIN
END $$;
-- Invitation revocation is historical DML; pgschema does not execute it.
-- Use the same tenant-fenced, idempotent repair as migration0061.
-- Use the same tenant-fenced, idempotent repair as migration 0065.
SELECT backfill_invite_revocations();
DO $$
BEGIN