Migrate contact_email and contact_phone to allow dupes

The key item here is that comms.phone and comms.email are meant to
represent a real global namespace, but comms.contact is meant to
represent an organization-specific namespace. This means the mapping,
comms.contact_phone and comms.contact_email can't key off the global
namespace. Otherwise the contact namespace would implicitly be global.
This commit is contained in:
Eli Ribble 2026-05-22 15:13:03 +00:00
parent a72f228e4e
commit f957dc6982
No known key found for this signature in database
14 changed files with 250 additions and 44 deletions

View file

@ -6,6 +6,7 @@
</div>
<div class="card-body">
<div v-if="contact.emails.length > 0">
<h1>Email Addresses</h1>
<ul>
<li v-for="(email, index) in contact.emails">{{ email }}</li>
</ul>
@ -14,6 +15,7 @@
<p>No email addresses</p>
</div>
<div v-if="contact.phones.length > 0">
<h1>Phone Numbers</h1>
<ul>
<li v-for="(phone, index) in contact.phones">
{{ phone.e164 }} {{ phone.can_sms }}