Private
Public Access
1
0
Files
linux_patch_manager/migrations/013_maintenance_window_auto_apply.sql
git-echo 124b5b0e3b feat: add bump-version.sh script for version management
Automates version bumps across all version source files:
- Cargo.toml (PRIMARY - workspace.package.version)
- debian/changelog (prepend new entry)
- debian/control (update Version field)
- scripts/build-package.sh (update VERSION variable)
- frontend/package.json (update version field)
- Stale references check after bump

Usage: ./scripts/bump-version.sh <new_version> <old_version>
2026-05-28 10:52:16 -05: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.';