Rename NONCONFORMITY to MINOR_NONCONFORMITY and add MAJOR_NONCONFORMITY
Support distinguishing between minor and major non-conformities in findings. Rename the existing NONCONFORMITY enum value to MINOR_NONCONFORMITY and add a new MAJOR_NONCONFORMITY value across all API layers (GraphQL, MCP, CLI) and the database. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
3
pkg/coredata/migrations/20260319T120000Z.sql
Normal file
3
pkg/coredata/migrations/20260319T120000Z.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Rename NONCONFORMITY to MINOR_NONCONFORMITY and add MAJOR_NONCONFORMITY
|
||||
ALTER TYPE findings_kind RENAME VALUE 'NONCONFORMITY' TO 'MINOR_NONCONFORMITY';
|
||||
ALTER TYPE findings_kind ADD VALUE 'MAJOR_NONCONFORMITY';
|
||||
Reference in New Issue
Block a user