Private
Public Access
1
0
Files
linux_patch_manager/migrations/013_maintenance_window_auto_apply.sql
Echo 08add28b80
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
fix: eslint-disable for useEffect deps in UsersPage
2026-05-07 19:14:21 +00:00

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.';