INSERT INTO ias_upgrade_logs (
    version,
    released_at,
    title,
    description,
    changes
) VALUES (
    '0.1.3',
    '2026-07-06T00:00:00+08:00',
    'Detached background service startup',
    'Fixed the service supervisor so background start and restart detach the child process from the invoking command session, then recorded the upgrade in the database.',
    '[
        "Fixed background service startup so ias service start/restart detaches the child service process from the invoking command session.",
        "Added a database upgrade-log migration for version 0.1.3.",
        "Verified service health using ias service status after restart."
    ]'::jsonb
) ON CONFLICT (version) DO UPDATE SET
    released_at = EXCLUDED.released_at,
    title = EXCLUDED.title,
    description = EXCLUDED.description,
    changes = EXCLUDED.changes;
