Files

11 lines
496 B
SQL
Raw Permalink Normal View History

-- Addresses held on a validator for manual diagnostics (see
-- docs/changes/2026-11-03_00-28_diagnostic-mode-plan.md). A hold lives until
-- an explicit detach. No foreign keys on purpose, like the other history tables.
CREATE TABLE diagnostic_holds (
id INTEGER PRIMARY KEY AUTOINCREMENT,
address TEXT NOT NULL UNIQUE,
validator_id TEXT NOT NULL UNIQUE,
fip_id TEXT NOT NULL DEFAULT '',
note TEXT NOT NULL DEFAULT '',
created_at TIMESTAMP NOT NULL
);