- Implemented a comprehensive end-to-end testing script for the Sag module's HTTP API, covering various functionalities including case creation, updates, and file uploads. - Introduced a safe HTML sanitizer utility to ensure safe rendering of HTML content in the BMC Hub UI. - Added database migrations for new features including WAN connection marking for wall outlets, permanent audit trails for supplier invoices, and dedicated permissions for the Sag module. - Created a migration center for manual subscription and invoice migrations with relevant tables and indexes. - Added tests for migration center functionalities, ensuring stability and correctness of the new features.
8 lines
319 B
SQL
8 lines
319 B
SQL
-- Mark wall outlets and their related patch/switch ports as WAN connections.
|
|
ALTER TABLE locations_wall_outlets
|
|
ADD COLUMN IF NOT EXISTS is_wan BOOLEAN NOT NULL DEFAULT FALSE;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_wall_outlets_is_wan
|
|
ON locations_wall_outlets(is_wan)
|
|
WHERE deleted_at IS NULL AND is_wan = TRUE;
|