-- Migration 156: ce_marked on iace_components.
-- Marks a bought component that carries its own CE / Declaration of Conformity
-- (finished robot, actuator, drive, safety PLC ...). SAFE semantics: hazards are
-- NOT suppressed (integration/application hazards remain the integrator's job);
-- ce_marked only drives provenance + evidence hints in the UI, and flags that a
-- CE + safety-relevant component still needs its integrated safety function
-- (PL/SIL) validated.
ALTER TABLE iace_components
    ADD COLUMN IF NOT EXISTS ce_marked boolean NOT NULL DEFAULT false;
