[PR #12206] Make default string length of 255 configurable in SchemaTool. #13576

Open
opened 2026-01-22 16:17:36 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/12206
Author: @beberlei
Created: 10/8/2025
Status: 🔄 Open

Base: 3.7.xHead: ORM-DefaultStringSchemaLength


📝 Commits (1)

  • 6a25052 Make default string length of 255 configurable in SchemaTool.

📊 Changes

2 files changed (+13 additions, -2 deletions)

View changed files

📝 src/Configuration.php (+10 -0)
📝 src/Tools/SchemaTool.php (+3 -2)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/12206 **Author:** [@beberlei](https://github.com/beberlei) **Created:** 10/8/2025 **Status:** 🔄 Open **Base:** `3.7.x` ← **Head:** `ORM-DefaultStringSchemaLength` --- ### 📝 Commits (1) - [`6a25052`](https://github.com/doctrine/orm/commit/6a250529c35c9582facf4ead3225c3eb364b50bf) Make default string length of 255 configurable in SchemaTool. ### 📊 Changes **2 files changed** (+13 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Configuration.php` (+10 -0) 📝 `src/Tools/SchemaTool.php` (+3 -2) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:17:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13576