theseus/db/migrate/20251218194622_add_hcb_payment_account_to_batches.rb
24c02 b860c9d112 Add batch-level HCB disbursement support
- HCB::BatchPurchaseService for single disbursement per batch
- Add hcb_payment_account and hcb_transfer_id to batches
- Wire into Letter::Batch#process! and batches controller
2025-12-18 14:48:22 -05:00

6 lines
221 B
Ruby

class AddHCBPaymentAccountToBatches < ActiveRecord::Migration[8.0]
def change
add_reference :batches, :hcb_payment_account, null: true, foreign_key: true
add_column :batches, :hcb_transfer_id, :string
end
end