Private
Public Access
1
0
Files
linux_patch_manager/migrations/017_enrollment_host_columns.sql
Echo aabaa3a0d4
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 53s
CI Pipeline / Rust Unit Tests (push) Successful in 1m12s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 15s
CI Pipeline / Build .deb & Release (push) Has been skipped
fix: reorder host insert before cert issuance, add migration for missing columns
2026-05-18 13:18:44 +00:00

6 lines
279 B
SQL

-- Migration: 017_enrollment_host_columns
-- Add missing columns for enrollment support
ALTER TABLE hosts ADD COLUMN IF NOT EXISTS machine_id TEXT;
ALTER TABLE certificates ADD COLUMN IF NOT EXISTS ip_address INET;
ALTER TABLE certificates ADD COLUMN IF NOT EXISTS key_pem TEXT;