All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 5s
CI Pipeline / Clippy Lints (push) Successful in 46s
CI Pipeline / Rust Unit Tests (push) Successful in 1m2s
CI Pipeline / Security Audit (push) Successful in 4s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 14s
CI Pipeline / Build .deb & Release (push) Has been skipped
9 lines
473 B
SQL
9 lines
473 B
SQL
-- Migration 013: Add auto_apply flag to maintenance windows
|
|
-- When true, the maintenance scheduler will automatically create a patch_apply job
|
|
-- for the host when the window opens and patches are pending.
|
|
|
|
ALTER TABLE maintenance_windows
|
|
ADD COLUMN IF NOT EXISTS auto_apply boolean NOT NULL DEFAULT true;
|
|
|
|
COMMENT ON COLUMN maintenance_windows.auto_apply IS 'When true, automatically create a patch_apply job when this window opens and the host has pending patches.';
|