Skip to content

Conversation

@dereuromark
Copy link
Member

@dereuromark dereuromark commented Jan 28, 2026

Summary

Usage

After this change, users can define BIT columns in migrations:

$table->addColumn('flags', 'bit', ['limit' => 8]);
// or using the constant
$table->addColumn('flags', AdapterInterface::TYPE_BIT, ['limit' => 8]);

Adds the TYPE_BIT constant mapping to TableSchemaInterface::TYPE_BIT
for consistency with the core BIT type support added in cakephp/cakephp#19223.

This allows migration users to reference AdapterInterface::TYPE_BIT
when defining BIT columns in MySQL migrations.
@dereuromark dereuromark marked this pull request as draft January 28, 2026 15:53
@dereuromark dereuromark marked this pull request as ready for review January 29, 2026 10:48
@dereuromark dereuromark marked this pull request as draft January 29, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants