Skip to content

Only set column type for "additional_data" if column exists#1168

Merged
steinkel merged 1 commit intoCakeDC:15.next-cake5from
Staubiii:patch-1
Feb 11, 2026
Merged

Only set column type for "additional_data" if column exists#1168
steinkel merged 1 commit intoCakeDC:15.next-cake5from
Staubiii:patch-1

Conversation

@Staubiii
Copy link
Copy Markdown
Contributor

We didnt add this field (yet) and ran into a problem while upgrading to CakePHP 5.x and with it to this version of the users plugin.

Column additional_data of table users: The column type json can only be set if the column already exists; can be checked using hasColumn().

So we propose to only set the column type when the column actually exists.

@steinkel steinkel merged commit e2efd0e into CakeDC:15.next-cake5 Feb 11, 2026
@steinkel
Copy link
Copy Markdown
Member

thank you, the change was merged into the v15 and v16 branches. Released 15 now and 16 will be released soon.

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