Skip to content

Conversation

beberlei
Copy link
Member

@beberlei beberlei commented Oct 8, 2025

Unsure about the problem space yet, since our assumption was that ORM does not set the default to 255 yet, but apparently it does here in SchemaTool for type === 'string'.

Fixes #12205

@beberlei beberlei marked this pull request as draft October 8, 2025 12:02

public function getDefaultStringTypeSchemaLength(): ?int
{
return $this->attributes['defaultStringTypeSchemaLength'] ?? 255;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can never return null Setting null through the setter is not respected by the getter.

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