nis2-agile/docs/sql/003_voluntary_compliance.sql
Cristiano Benassati 4e3408e9f6 [FEAT] Visura auto-fill, adesione volontaria, modulo NCR/CAPA
1. Fix auto-fill visura: mapping corretto suggested_sector e employees_range,
   indicatori visivi verdi sui campi auto-compilati, fatturato sempre manuale
2. Adesione volontaria: colonna voluntary_compliance, checkbox in onboarding
   step 5 quando not_applicable, toggle in settings, reset su ri-classificazione
3. Modulo NCR/CAPA: NonConformityController con 10 endpoint API,
   tabelle non_conformities + capa_actions, generazione NCR dai gap assessment,
   predisposizione integrazione SistemiG.agile (webhook + sync)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 08:12:57 +01:00

8 lines
619 B
SQL

-- ═══════════════════════════════════════════════════════════════════
-- NIS2 Agile - Migration 003: Voluntary Compliance
-- Aggiunge colonna per adesione volontaria NIS2
-- ═══════════════════════════════════════════════════════════════════
ALTER TABLE organizations
ADD COLUMN voluntary_compliance TINYINT(1) NOT NULL DEFAULT 0 AFTER entity_type;