feat(federation): add approval_token columns to peer schema

Nullable text columns on federation_peers and peer_approval_requests.
Existing rows degrade gracefully (NULL token) per spec §5; the verification
logic landing in subsequent commits routes legacy null-token state through
the existing autoAccept gate.
This commit is contained in:
Jannis Braun
2026-04-26 11:44:06 +02:00
parent 4533e36e51
commit 2d8ecd0131
4 changed files with 3264 additions and 0 deletions
@@ -15,6 +15,13 @@
"when": 1777144927946,
"tag": "0001_complex_screwball",
"breakpoints": true
},
{
"idx": 2,
"version": "6",
"when": 1777196627239,
"tag": "0002_peer_approval_token",
"breakpoints": true
}
]
}