43 lines
2.3 KiB
JSON
43 lines
2.3 KiB
JSON
{
|
|
"date": "2026-11-22",
|
|
"status": "approved",
|
|
"environment": "http://127.0.0.1:8005",
|
|
"scope": "incomplete_requisition_schema_and_search_assets",
|
|
"migration_hashes": {
|
|
"2026_11_22_000002_allow_incomplete_requisition_drafts.php": "5d1caaac0a0d21efb46974fc226168910b16391724e6642994859e893e8cd893"
|
|
},
|
|
"candidate": "storage/framework/testing/draft-preparation-candidate-20261122",
|
|
"manifest_sha256": "c2203372527050e083f6cc0aab47a1e08534015d692b3a8781a26ddf65109c23",
|
|
"previous_manifest_sha256": "4c8c11cc7a5908ae7c12fcd74073b728fc0adec0faff041f4546a50ab4bd05ee",
|
|
"assets_verified": 150,
|
|
"schema_effects": [
|
|
"Allow NULL for requisitions.cost_center_id, needed_by, justification, subtotal_minor, tax_minor and total_minor; preserve all existing values",
|
|
"Add nullable JSON requisitions.draft_input; existing rows remain NULL",
|
|
"Add PostgreSQL check requisitions_complete_before_submission; pending/approved documents require complete header amounts and no draft_input"
|
|
],
|
|
"functional_effects": [
|
|
"Save and recover incomplete preparation with unknown amounts distinguished from zero",
|
|
"Reject incomplete submission before budget reservations and approvals",
|
|
"Complete the same draft using existing calculations, native version and operation receipts",
|
|
"Search seven procurement sources with native permissions"
|
|
],
|
|
"safeguards": [
|
|
"Confirm pilot database and role from private settings",
|
|
"Consistent backup and same-role restore before applying the exact migration",
|
|
"Compare all prior rows and columns before and after upgrade on restore and pilot",
|
|
"Verify the database check constraint and empty draft_input immediately after migration",
|
|
"Copy verified chunks first and replace manifest last; retain previous manifest and chunks"
|
|
],
|
|
"recovery": "Do not downgrade after incomplete drafts have been saved. Migration rollback refuses to discard them or replace missing values. Preserve current schema/code and backup for reviewed recovery. No automatic restoration over subsequent user changes.",
|
|
"excluded": [
|
|
"Business operations and sample submissions in pilot",
|
|
"Real company data imports",
|
|
"SGF changes",
|
|
"Inventory conversion or per-order limit activation",
|
|
"MFA activation",
|
|
"People formalization",
|
|
"Enterprise acceptance"
|
|
],
|
|
"owner_decision": "autorizo"
|
|
}
|