Relax legacy ContractClock receipt constraint

This commit is contained in:
2026-07-18 05:40:19 -03:00
parent 03786307b8
commit 3e9a7b6471
5 changed files with 31 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ BEGIN
) THEN
EXECUTE 'UPDATE execution_receipts
SET tool_name = COALESCE(tool_name, skill_name)';
EXECUTE 'ALTER TABLE execution_receipts
ALTER COLUMN skill_name DROP NOT NULL';
END IF;
END
$$;