Skip to content

Billing 0.9.0: The module's own migration chain

Billing 0.9.0 gives the PhoenixKit billing module its own versioned database migrations, which mix phoenix_kit.update finds and runs. No change for a running site: the admin, payments and emails work as before.

A migration chain for billing

Until now every billing table was created and changed by PhoenixKit core. The module now declares its own migration chain, so later billing releases can change their tables without waiting for a core release.

Its first version, V1, takes over the payment provider configuration table that core created. It does not change the table: it only marks it as owned by billing. Nothing reads or writes that table yet; provider credentials are still kept in the PhoenixKit settings.

Upgrading

Run mix phoenix_kit.update, which applies billing’s V1 along with any core migrations. No configuration.

Full release notes: Billing 0.9.0

0.9.0 · 26 August 2026

PR #29, plus the post-merge review. Full findings in dev_docs/pull_requests/2026/29-migration-module-payment-provider-configs/CLAUDE_REVIEW.md.

Added

  • migration_module/0, declaring PhoenixKitBilling.Migrations — this package’s first module-owned versioned migration chain, discovered by core’s mix phoenix_kit.update.
  • Adopts phoenix_kit_payment_provider_configs. The table is core-created (V135 baseline); this chain’s V1 stamps a pkb_schema:1 marker without changing its shape, taking ownership of the table’s future evolution. No application code reads or writes the table yet — provider credentials still live in phoenix_kit_settings.

Billing 0.9.0. Install or update: {:phoenix_kit_billing, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.