Skip to content

Fix V56 migration: add subscription_plans to uuid column setup lists#336

Merged
ddon merged 1 commit intoBeamLabEU:devfrom
alexdont:dev
Feb 14, 2026
Merged

Fix V56 migration: add subscription_plans to uuid column setup lists#336
ddon merged 1 commit intoBeamLabEU:devfrom
alexdont:dev

Conversation

@alexdont
Copy link
Contributor

The subscription_plans table was referenced as an FK source in UUIDFKColumns but wasn't included in the uuid column setup lists, causing a Postgrex 42703 (undefined_column) error on V55→V56 upgrades.

Add phoenix_kit_subscription_plans to @tables_missing_column, @all_tables, @tables_ensure_not_null, and @tables_ensure_index so the uuid column exists before the FK backfill executes. All operations are idempotent — safe no-ops on sequential V34→V56 paths where V40 already created the column.

The subscription_plans table was referenced as an FK source in
UUIDFKColumns but wasn't included in the uuid column setup lists,
causing a Postgrex 42703 (undefined_column) error on V55→V56 upgrades.

Add phoenix_kit_subscription_plans to @tables_missing_column,
@all_tables, @tables_ensure_not_null, and @tables_ensure_index so the
uuid column exists before the FK backfill executes. All operations are
idempotent — safe no-ops on sequential V34→V56 paths where V40 already
created the column.
@ddon ddon merged commit 740d4b4 into BeamLabEU:dev Feb 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants