Files
backspace/packages/server/drizzle/0002_peer_approval_token.sql
T
Jannis Braun 2d8ecd0131 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.
2026-04-26 11:44:06 +02:00

2 lines
145 B
SQL

ALTER TABLE `federation_peers` ADD `approval_token` text;--> statement-breakpoint
ALTER TABLE `peer_approval_requests` ADD `approval_token` text;