revamp aggregate and use typestruct
All checks were successful
Build and Publish / build-release (push) Successful in 1m41s

This commit is contained in:
2026-04-22 11:37:04 -05:00
parent 5f2f9e9085
commit a7160aadcf
19 changed files with 228 additions and 185 deletions

View File

@@ -20,22 +20,15 @@ defmodule PolicyService.Repo.Migrations.CreatePolicyApplications do
add :selected_providers, {:array, :string}, default: []
add :quotes, :map, default: %{}
# Accepted plan
add :accepted_quote_id, :string
add :accepted_plan_id, :string
add :accepted_provider_id, :string
add :accepted_by, :string
add :accepted_at, :utc_datetime_usec
# Accepted plan
add :accepted_plan_id, :string
add :accepted_by, :string
# Solicitation
add :solicitation_id, :string
add :solicitation_s3_key, :string
# Issued policy
add :policy_number, :string
add :premium, :decimal
add :effective_date, :date
add :expiry_date, :date
# Issued policy
add :provider_policy_number, :string
add :premium, :decimal
add :effective_date, :date
add :expiry_date, :date
# Status + timestamps
add :status, :string, null: false