Files
llmgw/internal/store/migrations/postgres/0017_revoked_nodes.sql
T

9 lines
372 B
SQL

-- Ported from the SQLite migration of the same number.
-- Nodes removed from the cluster, and when. A certificate issued for one
-- before that moment is refused when it connects: removing a node revokes
-- the certificate it was given, and onboarding it again issues a new one.
CREATE TABLE revoked_nodes (
node_id TEXT PRIMARY KEY,
revoked_at BIGINT NOT NULL
);