bmc_hub/migrations/230_migration_center_subscription_relevance.sql
Christian d81a8f41b4 feat: Add end-to-end tests for Sag module HTTP API
- 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.
2026-07-28 14:18:24 +02:00

7 lines
345 B
SQL

ALTER TABLE migration_center_session_items
ADD COLUMN IF NOT EXISTS subscription_like BOOLEAN NOT NULL DEFAULT TRUE,
ADD COLUMN IF NOT EXISTS subscription_relevance_reason VARCHAR(40);
CREATE INDEX IF NOT EXISTS idx_mc_items_visible
ON migration_center_session_items (session_id, subscription_like, entity_type, invoice_date DESC);