Files
mesh-controller/internal/inventory/migrations/0030-what-an-adopted-node-reports.sql
T

13 lines
720 B
SQL

-- What an adopted node last reported about adoption (novox/hq ADR 0100): the files and containers
-- it found and holds until their module is taken, the firewall it found, and what is reachable on
-- the machine now — which converging it previews, so nothing closes without being named first.
--
-- The last report, replaced, like what a node owns: the question is the machine as it is now.
-- Kept apart from node_report because a node reports it on its own schedule, when what it holds
-- changes, and not only after an apply.
alter table node add column held jsonb;
alter table node add column firewall text;
alter table node add column reachable jsonb;
alter table node add column adoption_reported timestamptz;