9 lines
398 B
SQL
9 lines
398 B
SQL
-- PHASE-1-SHADOW-RUN / REQ-EXEC-001
|
|
-- Bind a client-selected model identity to the server-side approved VersionSet.
|
|
ALTER TABLE governance.model_version_registry
|
|
ADD COLUMN IF NOT EXISTS model_id uuid;
|
|
|
|
CREATE INDEX IF NOT EXISTS ix_model_version_registry_model_scope_effective
|
|
ON governance.model_version_registry (model_id, scope_key, effective_at desc)
|
|
WHERE model_id IS NOT NULL;
|