revamp aggregate and use typestruct
All checks were successful
Build and Publish / build-release (push) Successful in 1m41s
All checks were successful
Build and Publish / build-release (push) Successful in 1m41s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user