Apply canonical AI outputs through scoped identity-checked changes
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
BEGIN;
|
||||
-- Legacy requests retain NULL. Canonical operation identity cannot be replayed
|
||||
-- under another transport key to admit a second paid execution.
|
||||
ALTER TABLE canvas_ai_runs ADD COLUMN logical_operation_id uuid;
|
||||
CREATE UNIQUE INDEX canvas_ai_logical_operation ON canvas_ai_runs(project,workspace_id,account_id,logical_operation_id) WHERE logical_operation_id IS NOT NULL;
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user