PhoenixKit.Migrations.Postgres.V76 (phoenix_kit v1.7.71)

Copy Markdown View Source

V76: Rename stale _id columns/keys to _uuid.

The UUID migration (V54–V59) renamed all DB columns from _id to _uuid, but a few JSONB keys, settings rows, and one column still use the old _id naming. This migration aligns them.

Changes

  1. Rename column: phoenix_kit_shop_products.image_idsimage_uuids
  2. Rename JSONB key: phoenix_kit_users.custom_fields.avatar_file_idavatar_file_uuid
  3. Rename settings key: publishing_translation_endpoint_id…_uuid
  4. Rename settings key: storage_default_bucket_id…_uuid

Summary

Functions

down(opts)

up(opts)