Allow to specify a default string type schema length #7558

Open
opened 2026-01-22 15:53:25 +01:00 by admin · 0 comments
Owner

Originally created by @beberlei on GitHub (Oct 8, 2025).

Originally assigned to: @beberlei on GitHub.

To simplify migration towards DBAL 4, where MySQL String types need to specify the length, ORM users should be able to specify a global string length that they want in the application. Then its possible to set that to 255 by default to avoid DBAL creating migrations for them.

Originally created by @beberlei on GitHub (Oct 8, 2025). Originally assigned to: @beberlei on GitHub. To simplify migration towards DBAL 4, where MySQL String types need to specify the length, ORM users should be able to specify a global string length that they want in the application. Then its possible to set that to 255 by default to avoid DBAL creating migrations for them.
admin added the New Feature label 2026-01-22 15:53:25 +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#7558