mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-27 04:56:20 +02:00
* fix(attribution): remove legacy invariant exemption Co-authored-by: multica-agent <github@multica.ai> * test(attribution): enforce strict legacy row rejection Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: Eve <eve@multica-ai.local> Co-authored-by: multica-agent <github@multica.ai>
11 lines
553 B
SQL
11 lines
553 B
SQL
-- The strict shadow constraint is validated, so migration 190's transitional
|
|
-- originator_source IS NULL exemption can now be removed. Both statements are
|
|
-- sent in one migration query and therefore commit atomically: readers never
|
|
-- observe the table without either constraint in place.
|
|
ALTER TABLE agent_task_queue
|
|
DROP CONSTRAINT agent_task_queue_accountable_matches_originator;
|
|
|
|
ALTER TABLE agent_task_queue
|
|
RENAME CONSTRAINT agent_task_queue_accountable_matches_originator_strict
|
|
TO agent_task_queue_accountable_matches_originator;
|