# `PhoenixKit.Migrations.Postgres.V142`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v2.13.11/lib/phoenix_kit/migrations/postgres/v142.ex#L1)

V142: Widen role-permission keys for fine-grained sub-permissions.

Sub-permissions are stored in `phoenix_kit_role_permissions.module_key` as
composed dotted keys (`"calendar.view_others"`). Base and sub parts are
each capped at 50 chars, so a composed key can reach 101 — the original
V53 `VARCHAR(50)` is too narrow. Widen to `VARCHAR(120)`.

All statements are idempotent, safe to re-run.

# `down`

# `up`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
