Skip to content

History / ADR 018 Invoice Budget Line Junction Table

Revisions

  • fix(adr-018): update DDL and description to ON DELETE CASCADE for budget FKs

    @claude claude committed Mar 8, 2026
  • docs: add EPIC-15 invoice-budget-line junction table architecture - ADR-018: Junction table design with XOR constraint, partial unique indexes - Schema.md: invoice_budget_lines table, updated invoices table (removed FKs) - API-Contract.md: New invoice budget line CRUD endpoints, updated invoice response shape (budgetLines array + remainingAmount), updated budget line response shape (invoiceLink), actualCost computation changes - ADR-Index.md: Added ADR-018 Co-Authored-By: Claude product-architect (Opus 4.6) <noreply@anthropic.com>

    @claude claude committed Mar 8, 2026