7 lines
423 B
SQL
7 lines
423 B
SQL
-- Add only the independently validated Windows passive snapshot scope.
|
|
-- Existing observations, tenant RLS, composite identity foreign keys and sequence
|
|
-- uniqueness remain intact; an arbitrary source label is still rejected.
|
|
ALTER TABLE observations DROP CONSTRAINT observations_source_id_check;
|
|
ALTER TABLE observations ADD CONSTRAINT observations_source_id_check
|
|
CHECK (source_id IN ('linux.base', 'windows.base'));
|