From 9cd227515dc812fd44f6e939e05ca1d31b10152c Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 9 Sep 2026 14:28:44 +0200 Subject: [PATCH] docs: point the empty down at the grant it is declining to revoke Co-Authored-By: Claude Opus 5 (1M context) --- .../20260909110835_grant_draft_id_seq.down.sql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/migrations/20260909110835_grant_draft_id_seq.down.sql b/backend/migrations/20260909110835_grant_draft_id_seq.down.sql index 14fa7ae54d..c45826d0a8 100644 --- a/backend/migrations/20260909110835_grant_draft_id_seq.down.sql +++ b/backend/migrations/20260909110835_grant_draft_id_seq.down.sql @@ -1,5 +1,6 @@ -- Deliberately empty. On an instance where 20250205131523 succeeded, this grant --- came from its ALTER DEFAULT PRIVILEGES when the sequence was created, and the --- catalog keeps no record distinguishing that from the one above — so a REVOKE --- here would strip a privilege the instance had before this migration ran, and --- leave every autosave failing with `permission denied for sequence`. +-- came from its ALTER DEFAULT PRIVILEGES when the sequence was created, and +-- `relacl` keeps no record distinguishing that from the GRANT in this migration's +-- up — so a REVOKE here would strip a privilege the instance had before this +-- migration ran, and leave every autosave failing with `permission denied for +-- sequence`.