Files
KArtSell.Aegis/db/migrations/0033_model_registry_identity_contract.sql
kjh2064 c9b59994b5
ci / static (push) Successful in 8s
ci / backend (push) Successful in 1m58s
ci / frontend (push) Successful in 2m47s
ci / publish (push) Has been skipped
PHASE-1-SHADOW-RUN: bind VersionSet resolution to model identity
2026-08-06 15:49:53 +09:00

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;