PhoenixKit 1.7.193: Supplier and client roles for CRM parties
PhoenixKit 1.7.193 adds the database table the CRM module needs to mark an existing company or contact as a supplier, a client or another commercial role.
Migration V148 creates phoenix_kit_crm_party_roles. One party can hold several roles at once, each with its own start and end date, an active flag and its own metadata. No change for sites without the CRM module beyond the new empty table. The migration’s id default is written so it also works on installs in their own database schema.
Upgrading
Run mix phoenix_kit.update for V148.
Full release notes: PhoenixKit 1.7.193
1.7.193 · 14 July 2026
Added
- V148:
phoenix_kit_crm_party_rolestable for thephoenix_kit_crmmodule — a polymorphic role edge marking an existing CRM company or contact assupplier,client, or another commercial counterparty role (a party can hold several roles at once). No FK on the polymorphic(roleable_type, roleable_uuid)pair;valid_from/valid_tolifecycle,is_activefilter, role-scopedmetadata.
Fixed
- V148’s
uuidcolumnDEFAULTnow schema-qualifiesuuid_generate_v7()with the install prefix (matching V138/V144) — the unqualified call would have resolved viasearch_pathand failed on named-schema installs.
PhoenixKit 1.7.193. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.