Rust development slice / linux (push) Failing after 15s
linux.proxmox gets a strict validator and a 128 KiB scope budget. Device details expose guests, backup jobs with ok/failed/missed/running status and linked devices. Base snapshots reconcile unique guest MACs into assets.hypervisor_asset_id with hypervisor_source='proxmox'; manual choices are kept and can be handed back to automatic detection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
537 B
SQL
11 lines
537 B
SQL
SET LOCAL lock_timeout = '3s';
|
|
SET LOCAL statement_timeout = '30s';
|
|
-- NULL: no automatic decision yet, 'proxmox': set from a Proxmox host's guest list,
|
|
-- 'manual': chosen by a person and never overwritten by automatic detection.
|
|
ALTER TABLE assets
|
|
ADD COLUMN hypervisor_source text,
|
|
ADD CONSTRAINT assets_hypervisor_source_check
|
|
CHECK (hypervisor_source IN ('manual','proxmox'));
|
|
UPDATE assets SET hypervisor_source='manual' WHERE hypervisor_asset_id IS NOT NULL;
|
|
GRANT UPDATE (hypervisor_source) ON assets TO rmm_app;
|