diff --git a/lib/customer_service/projections/quick_lead.ex b/lib/customer_service/projections/quick_lead.ex index c4f088b..7f519de 100644 --- a/lib/customer_service/projections/quick_lead.ex +++ b/lib/customer_service/projections/quick_lead.ex @@ -50,7 +50,7 @@ defmodule CustomerService.Projections.QuickLead do field :assigned_to, :string field :estimated_value, :decimal field :expected_close_date, :date - field :status_history, :map + field :status_history, {:array, :map}, default: [] timestamps() end