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:
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `federation_peers` ADD `approval_token` text;--> statement-breakpoint
|
||||
ALTER TABLE `peer_approval_requests` ADD `approval_token` text;
|
||||
Reference in New Issue
Block a user