PhoenixKit 1.7.56: Every table now uses its UUID as primary key
PhoenixKit 1.7.56 finishes the move to UUID keys. The new V74 migration removes the integer id columns and the integer foreign key columns, and makes uuid the primary key on the 47 tables that still had a bigint key. After V74, no PhoenixKit table has an integer primary key.
The migration first finds and drops every foreign key that points at an integer id, so it can remove the columns.
Upgrading
Back up your database before running mix phoenix_kit.update. V74 deletes columns and their data, and rolling it back only resets the version number; a full reversal needs the backup. Code in your app that still reads .id or _id fields on PhoenixKit records must use uuid instead.
Full release notes: PhoenixKit 1.7.56
1.7.56 · 3 March 2026
- Add V74 migration: drop integer
id/_idcolumns, promoteuuidto PK on all tables- Drop all FK constraints referencing integer
idcolumns (dynamic discovery) - Drop ~95 integer FK columns across all tables (sourced from uuid_fk_columns.ex + extras)
- Drop bigint
idPK + promoteuuidto PK on 47 Category B tables - After V74, every PhoenixKit table uses
uuidas its primary key — no integer PKs remain
- Drop all FK constraints referencing integer
- Remove
source: :idfromwebhook_event.exschema (DB column now matches field name)
PhoenixKit 1.7.56. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.