Skip to content

Conversation

@markstory
Copy link
Member

@markstory markstory commented Jan 18, 2026

When migrations switched to cakephp/database we didn't have adequate test coverage for small non-standard sized blobs. This broke migrations that created small binary columns with indexes on them. By preserving the specific length for columns that are smaller than tinyblob we can preserve compatibility with existing migrations.

Fixes #999

When migrations switched to cakephp/database we didn't have adequate
test coverage for small non-standard sized blobs. This broke migrations
that created small binary columns with indexes on them. By preserving
the specific length for columns that are smaller than tinyblob we can
preserve compatiblity with existing migrations.

Fixes #999
@markstory markstory added this to the 4.x (CakePHP 5) milestone Jan 18, 2026
@dereuromark dereuromark merged commit d0f5e3c into 4.x Jan 18, 2026
13 checks passed
@dereuromark dereuromark deleted the binary-column-mysql branch January 18, 2026 04:27
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.

Fixed length BINARY with index results in SQL error since v4.7.0

3 participants