12 lines
960 B
SQL
12 lines
960 B
SQL
-- The node row keeps no record of a send's builds, epoch, summary or generation (novox/hq ADR 0539 §5, §17, issue 1945).
|
|
--
|
|
-- Nothing sends a declaration any more, so nothing writes what a send carried: the commit of each module (sent_builds, which
|
|
-- 0105 kept only as the source of the one-time copy onto the assignments, long done), the lease epoch (sent_epoch, 0068), the
|
|
-- summary `plan --diff` compared (sent_summary, 0078) and the assignment generation (sent_generation, 0094). **It is one-way**,
|
|
-- as 0108. What stays: sent and sent_at (the digest and time of the last send), sent_bus_users and sent_provisioning, which holds the
|
|
-- provisioner's plans of each composition (inventory.RecordComposedPlans); 0110 drops the first three.
|
|
alter table node drop column if exists sent_builds;
|
|
alter table node drop column if exists sent_epoch;
|
|
alter table node drop column if exists sent_summary;
|
|
alter table node drop column if exists sent_generation;
|