From 95a2afaa01182fd914cec39ea5055223a126b237 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 4 Apr 2026 10:51:39 -0500 Subject: [PATCH] Add inserted_at column to contacts table --- lib/microwaveprop_web/live/contact_live/index.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/microwaveprop_web/live/contact_live/index.ex b/lib/microwaveprop_web/live/contact_live/index.ex index e88c7838..ffabd4fc 100644 --- a/lib/microwaveprop_web/live/contact_live/index.ex +++ b/lib/microwaveprop_web/live/contact_live/index.ex @@ -113,12 +113,13 @@ defmodule MicrowavepropWeb.ContactLive.Index do Distance (km) Submitted Timestamp + Added <%= for {primary, reciprocals} <- @grouped_contacts do %> - + {primary.distance_km} {if primary.user_submitted, do: "Yes", else: "—"} {Calendar.strftime(primary.qso_timestamp, "%Y-%m-%d %H:%M")} + {Calendar.strftime(primary.inserted_at, "%Y-%m-%d %H:%M")} <%= for recip <- reciprocals do %> {recip.distance_km} {if recip.user_submitted, do: "Yes", else: "—"} {Calendar.strftime(recip.qso_timestamp, "%Y-%m-%d %H:%M")} + {Calendar.strftime(recip.inserted_at, "%Y-%m-%d %H:%M")} <% end %> <% end %>