bmc_hub/migrations/117_add_eset_fields.sql
Christian 297a8ef2d6 feat: Implement ESET integration for hardware management
- Added ESET sync functionality to periodically fetch devices and incidents.
- Created new ESET service for API interactions, including authentication and data retrieval.
- Introduced new database tables for storing ESET incidents and hardware contacts.
- Updated hardware assets schema to include ESET-specific fields (UUID, specs, group).
- Developed frontend templates for ESET overview, import, and testing.
- Enhanced existing hardware creation form to auto-generate AnyDesk links.
- Added global logout functionality to clear user session data.
- Improved error handling and logging for ESET API interactions.
2026-02-11 13:23:32 +01:00

9 lines
309 B
SQL

-- Add ESET integration fields to hardware_assets
-- Enables storing ESET UUID and raw hardware specs
ALTER TABLE hardware_assets
ADD COLUMN IF NOT EXISTS eset_uuid VARCHAR(100),
ADD COLUMN IF NOT EXISTS hardware_specs JSONB;
CREATE INDEX IF NOT EXISTS idx_hardware_eset_uuid ON hardware_assets(eset_uuid);